Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant,fileNamePrefix="Buildings_8_0_0_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_8_0_0_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.0/package.mo): time 1.403/1.403, allocations: 287.4 MB / 302.6 MB, free: 8.27 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.0009012/0.0009013, allocations: 185.2 kB / 371.1 MB, free: 10.86 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.073/1.073, allocations: 205.4 MB / 0.6298 GB, free: 10.6 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.0006653/0.0006653, allocations: 94.44 kB / 0.7431 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003155/0.0003159, allocations: 18 kB / 0.8662 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1356, allocations: 115.3 MB / 0.9788 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant): time 0.0005263/0.1362, allocations: 314 kB / 0.9791 GB, free: 27.78 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 3.014e-05/0.1363, allocations: 0 / 0.9791 GB, free: 27.78 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.711e-05/0.1363, allocations: 4 kB / 0.9791 GB, free: 27.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.638e-06/0.1363, allocations: 0 / 0.9791 GB, free: 27.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.447e-05/0.1363, allocations: 0 / 0.9791 GB, free: 27.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 1.97e-05/0.1363, allocations: 0 / 0.9791 GB, free: 27.78 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 3.514e-05/0.1364, allocations: 4 kB / 0.9791 GB, free: 27.77 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.162e-05/0.1364, allocations: 8 kB / 0.9791 GB, free: 27.77 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.016e-05/0.1364, allocations: 0 / 0.9791 GB, free: 27.77 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 1.472e-05/0.1365, allocations: 3.938 kB / 0.9791 GB, free: 27.76 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.506e-06/0.1365, allocations: 0 / 0.9791 GB, free: 27.76 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 2.876e-06/0.1365, allocations: 0 / 0.9791 GB, free: 27.76 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.745e-06/0.1365, allocations: 3.984 kB / 0.9791 GB, free: 27.76 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.126e-05/0.1365, allocations: 25.7 kB / 0.9791 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 2.962e-05/0.1366, allocations: 0 / 0.9791 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.1366, allocations: 0 / 0.9791 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.012e-06/0.1366, allocations: 0 / 0.9791 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.685e-06/0.1366, allocations: 4 kB / 0.9791 GB, free: 27.72 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.0001447/0.1367, allocations: 309.8 kB / 0.9794 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.011e-05/0.1368, allocations: 12.08 kB / 0.9794 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.032e-05/0.1368, allocations: 30.75 kB / 0.9795 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.418e-05/0.1368, allocations: 4.938 kB / 0.9795 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.225e-05/0.1369, allocations: 164.4 kB / 0.9796 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.694e-06/0.1369, allocations: 384 / 0.9796 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.729e-06/0.1369, allocations: 384 / 0.9796 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.43e-05/0.1369, allocations: 30.27 kB / 0.9796 GB, free: 27.08 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.241e-06/0.137, allocations: 11.81 kB / 0.9797 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.809e-06/0.137, allocations: 7.938 kB / 0.9797 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.915e-06/0.137, allocations: 0 / 0.9797 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.042e-05/0.137, allocations: 0 / 0.9797 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001631/0.1372, allocations: 387.4 kB / 0.98 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.277e-05/0.1372, allocations: 169.1 kB / 0.9802 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.274e-05/0.1372, allocations: 88.08 kB / 0.9803 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.396e-06/0.1372, allocations: 75.28 kB / 0.9804 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.678e-05/0.1372, allocations: 117.9 kB / 0.9805 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/0.1373, allocations: 0 / 0.9805 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 4.772e-05/0.1373, allocations: 29.73 kB / 0.9805 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.065e-05/0.1373, allocations: 126.7 kB / 0.9806 GB, free: 26 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.174e-05/0.1374, allocations: 97.86 kB / 0.9807 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.008e-06/0.1374, allocations: 25.7 kB / 0.9807 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.709e-06/0.1374, allocations: 80.14 kB / 0.9808 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.202e-06/0.1374, allocations: 0 / 0.9808 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.9e-07/0.1374, allocations: 0 / 0.9808 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.054e-05/0.1374, allocations: 318.8 kB / 0.9811 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.206e-06/0.1375, allocations: 3.938 kB / 0.9811 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.534e-06/0.1375, allocations: 0 / 0.9811 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.737e-06/0.1375, allocations: 75.41 kB / 0.9812 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/0.1375, allocations: 87.2 kB / 0.9813 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.858e-05/0.1375, allocations: 29.7 kB / 0.9813 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.1375, allocations: 79.28 kB / 0.9814 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.1376, allocations: 75.28 kB / 0.9814 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.1376, allocations: 154.5 kB / 0.9816 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.005e-06/0.1376, allocations: 79.28 kB / 0.9817 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.52e-05/0.1376, allocations: 158.5 kB / 0.9818 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.095e-05/0.1377, allocations: 79.28 kB / 0.9819 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.156e-06/0.1377, allocations: 79.27 kB / 0.982 GB, free: 24.56 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.096e-05/0.1377, allocations: 272.5 kB / 0.9822 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.814e-05/0.1378, allocations: 101 kB / 0.9823 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.615e-05/0.1378, allocations: 104.1 kB / 0.9824 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.682e-05/0.1378, allocations: 184.2 kB / 0.9826 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.845e-05/0.1378, allocations: 189.1 kB / 0.9828 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.762e-05/0.1378, allocations: 180.2 kB / 0.983 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.467e-05/0.1379, allocations: 401.1 kB / 0.9833 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-05/0.138, allocations: 113 kB / 0.9834 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.242e-05/0.138, allocations: 116.9 kB / 0.9836 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.629e-05/0.138, allocations: 176.3 kB / 0.9837 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.824e-05/0.138, allocations: 180.2 kB / 0.9839 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.782e-05/0.138, allocations: 180.6 kB / 0.9841 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.648e-05/0.1381, allocations: 176.3 kB / 0.9842 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.582e-05/0.1381, allocations: 323.7 kB / 0.9845 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.126e-05/0.1382, allocations: 182 kB / 0.9847 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.259e-05/0.1382, allocations: 180.2 kB / 0.9849 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.093e-05/0.1382, allocations: 105 kB / 0.985 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.99e-05/0.1383, allocations: 180.2 kB / 0.9852 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.1383, allocations: 109 kB / 0.9853 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.518e-05/0.1383, allocations: 79.28 kB / 0.9853 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1383, allocations: 0 / 0.9853 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001945/0.1385, allocations: 0 / 0.9853 GB, free: 20.89 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.0001649/0.1387, allocations: 0.8127 MB / 0.9861 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 2.532e-05/0.1387, allocations: 0 / 0.9861 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.1387, allocations: 0 / 0.9861 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.122e-06/0.1387, allocations: 0 / 0.9861 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002061/0.1389, allocations: 0.5262 MB / 0.9866 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003293/0.1392, allocations: 0.5016 MB / 0.9871 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.7e-05/0.1393, allocations: 0.6769 MB / 0.9878 GB, free: 18.26 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.122e-06/0.1393, allocations: 0 / 0.9878 GB, free: 18.26 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.53e-05/0.1394, allocations: 8.562 kB / 0.9878 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.1394, allocations: 3.938 kB / 0.9878 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2386/0.378, allocations: 0.7256 MB / 0.9885 GB, free: 17.69 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001261/0.3781, allocations: 203 kB / 0.9887 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.45/1.828, allocations: 7.812 kB / 0.9887 GB, free: 17.45 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe 2>&1)