Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.423/1.423, allocations: 288.4 MB / 303.6 MB, free: 8.098 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008155/0.0008158, allocations: 194.9 kB / 372.3 MB, free: 10.11 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.06/1.06, allocations: 205.4 MB / 0.631 GB, free: 9.922 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006483/0.0006482, allocations: 86.2 kB / 0.7444 GB, free: 5.836 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003167/0.0003171, allocations: 12.84 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1413, allocations: 115.3 MB / 0.9802 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant): time 0.0005225/0.1419, allocations: 314.2 kB / 0.9805 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 2.852e-05/0.1419, allocations: 4 kB / 0.9805 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.696e-05/0.1419, allocations: 0 / 0.9805 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.508e-06/0.142, allocations: 0 / 0.9805 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.326e-05/0.142, allocations: 0 / 0.9805 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 2.102e-05/0.142, allocations: 4 kB / 0.9805 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 3.533e-05/0.142, allocations: 7.984 kB / 0.9805 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.038e-05/0.1421, allocations: 4 kB / 0.9805 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.129e-05/0.1421, allocations: 3.938 kB / 0.9805 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 1.409e-05/0.1421, allocations: 0 / 0.9805 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.017e-06/0.1421, allocations: 0 / 0.9805 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 2.865e-06/0.1422, allocations: 0 / 0.9805 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.943e-06/0.1422, allocations: 0 / 0.9805 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.683e-05/0.1422, allocations: 25.7 kB / 0.9806 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 3.269e-05/0.1422, allocations: 3.984 kB / 0.9806 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1422, allocations: 8 kB / 0.9806 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1422, allocations: 3.938 kB / 0.9806 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.126e-06/0.1422, allocations: 0 / 0.9806 GB, free: 26.85 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001534/0.1424, allocations: 307.6 kB / 0.9809 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.1424, allocations: 8.094 kB / 0.9809 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.075e-05/0.1425, allocations: 34.75 kB / 0.9809 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.682e-05/0.1425, allocations: 4.938 kB / 0.9809 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.812e-05/0.1426, allocations: 164.4 kB / 0.9811 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.556e-06/0.1426, allocations: 4.312 kB / 0.9811 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.1e-06/0.1426, allocations: 8.312 kB / 0.9811 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.63e-05/0.1426, allocations: 30.27 kB / 0.9811 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.981e-06/0.1427, allocations: 3.938 kB / 0.9811 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.939e-06/0.1427, allocations: 0 / 0.9811 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.1427, allocations: 0 / 0.9811 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.103e-05/0.1427, allocations: 0 / 0.9811 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001672/0.1429, allocations: 383.4 kB / 0.9815 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.034e-05/0.1429, allocations: 177 kB / 0.9816 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.271e-05/0.1429, allocations: 80.14 kB / 0.9817 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.021e-05/0.1429, allocations: 79.31 kB / 0.9818 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.788e-05/0.143, allocations: 109.8 kB / 0.9819 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 7.42e-07/0.143, allocations: 0 / 0.9819 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 5.283e-05/0.143, allocations: 29.73 kB / 0.9819 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.187e-05/0.1431, allocations: 138.6 kB / 0.9821 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.148e-05/0.1431, allocations: 93.86 kB / 0.9822 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.318e-06/0.1431, allocations: 25.7 kB / 0.9822 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.038e-05/0.1431, allocations: 80.14 kB / 0.9823 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.272e-06/0.1431, allocations: 0 / 0.9823 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9e-08/0.1431, allocations: 0 / 0.9823 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.089e-05/0.1432, allocations: 318.8 kB / 0.9826 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.675e-06/0.1432, allocations: 4.125 kB / 0.9826 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.224e-06/0.1432, allocations: 0 / 0.9826 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.477e-06/0.1432, allocations: 75.28 kB / 0.9826 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.714e-06/0.1432, allocations: 79.22 kB / 0.9827 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.569e-05/0.1433, allocations: 33.69 kB / 0.9827 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.1433, allocations: 79.28 kB / 0.9828 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.1433, allocations: 79.22 kB / 0.9829 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/0.1433, allocations: 150.6 kB / 0.983 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.518e-06/0.1433, allocations: 87.22 kB / 0.9831 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.485e-05/0.1434, allocations: 150.6 kB / 0.9833 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.461e-05/0.1434, allocations: 79.28 kB / 0.9833 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.1434, allocations: 83.22 kB / 0.9834 GB, free: 23.7 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.529e-05/0.1435, allocations: 272.6 kB / 0.9837 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.871e-05/0.1435, allocations: 105 kB / 0.9838 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.871e-05/0.1435, allocations: 115.8 kB / 0.9839 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-05/0.1436, allocations: 189.1 kB / 0.9841 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.123e-05/0.1436, allocations: 180.2 kB / 0.9842 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.685e-05/0.1436, allocations: 184.2 kB / 0.9844 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001048/0.1437, allocations: 401.2 kB / 0.9848 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/0.1437, allocations: 108.9 kB / 0.9849 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.194e-05/0.1438, allocations: 113 kB / 0.985 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.907e-05/0.1438, allocations: 180.2 kB / 0.9852 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.94e-05/0.1438, allocations: 176.6 kB / 0.9854 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.785e-05/0.1438, allocations: 180.3 kB / 0.9855 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.857e-05/0.1439, allocations: 188.2 kB / 0.9857 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.226e-05/0.1439, allocations: 311.7 kB / 0.986 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.174e-05/0.1439, allocations: 178.1 kB / 0.9862 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.564e-05/0.144, allocations: 176.3 kB / 0.9863 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.816e-05/0.144, allocations: 112.9 kB / 0.9864 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.289e-05/0.144, allocations: 184.2 kB / 0.9866 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.1441, allocations: 104.9 kB / 0.9867 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.653e-05/0.1441, allocations: 79.28 kB / 0.9868 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1441, allocations: 0 / 0.9868 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002431/0.1443, allocations: 0 / 0.9868 GB, free: 20.01 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001815/0.1445, allocations: 0.8088 MB / 0.9876 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 2.391e-05/0.1446, allocations: 4 kB / 0.9876 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1446, allocations: 0 / 0.9876 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.032e-06/0.1446, allocations: 3.938 kB / 0.9876 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/0.1448, allocations: 0.5284 MB / 0.9881 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003514/0.1451, allocations: 0.4977 MB / 0.9886 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.078e-05/0.1452, allocations: 0.673 MB / 0.9893 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.913e-06/0.1452, allocations: 12.02 kB / 0.9893 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.55e-05/0.1453, allocations: 9.562 kB / 0.9893 GB, free: 17.37 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.1453, allocations: 0 / 0.9893 GB, free: 17.37 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.678/1.823, allocations: 0.7289 MB / 0.99 GB, free: 16.8 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001682/1.823, allocations: 214.8 kB / 0.9902 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.598/3.421, allocations: 4 kB / 0.9902 GB, free: 16.56 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe 2>&1)