Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Examples.WaterDerivativeCheck.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.Media.Examples.WaterDerivativeCheck,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterDerivativeCheck,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Examples_WaterDerivativeCheck",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.44/1.44, allocations: 287.4 MB / 302.6 MB, free: 8.203 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.0009123/0.0009124, allocations: 188.8 kB / 371.1 MB, free: 10.74 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.086/1.086, allocations: 205.4 MB / 0.6298 GB, free: 10.52 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.0006592/0.0006592, allocations: 90.36 kB / 0.7431 GB, free: 6.516 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003009/0.000301, allocations: 10.56 kB / 0.8662 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1344, allocations: 115.3 MB / 0.9787 GB, free: 28.11 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.0007993/0.1353, allocations: 0.9821 MB / 0.9797 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002079/0.1374, allocations: 3.05 MB / 0.9827 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.046e-05/0.1374, allocations: 0 / 0.9827 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.322e-05/0.1374, allocations: 0 / 0.9827 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.659e-05/0.1375, allocations: 15.91 kB / 0.9827 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003086/0.1378, allocations: 79.64 kB / 0.9827 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.173e-05/0.1378, allocations: 31.91 kB / 0.9828 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 2.694e-05/0.1379, allocations: 4 kB / 0.9828 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.907e-05/0.1379, allocations: 19.92 kB / 0.9828 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.458e-05/0.1379, allocations: 23.91 kB / 0.9828 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.051e-05/0.138, allocations: 0 / 0.9828 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001392/0.1381, allocations: 51.84 kB / 0.9829 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.939e-06/0.1381, allocations: 3.984 kB / 0.9829 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.523e-05/0.1381, allocations: 33.7 kB / 0.9829 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.347e-05/0.1382, allocations: 44.17 kB / 0.9829 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1382, allocations: 3.938 kB / 0.983 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.293e-06/0.1382, allocations: 0 / 0.983 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.775e-06/0.1383, allocations: 0 / 0.983 GB, free: 23.74 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000223/0.1385, allocations: 343.4 kB / 0.9833 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.889e-05/0.1385, allocations: 8.031 kB / 0.9833 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.564e-05/0.1385, allocations: 34.75 kB / 0.9833 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.41e-05/0.1386, allocations: 4.938 kB / 0.9833 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.067e-05/0.1387, allocations: 168.3 kB / 0.9835 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.768e-06/0.1387, allocations: 4.375 kB / 0.9835 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.907e-05/0.1387, allocations: 4.375 kB / 0.9835 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.149e-05/0.1388, allocations: 61.59 kB / 0.9836 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.102e-06/0.1388, allocations: 0 / 0.9836 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.006e-06/0.1388, allocations: 0 / 0.9836 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.1388, allocations: 7.984 kB / 0.9836 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.66e-05/0.1389, allocations: 15.98 kB / 0.9836 GB, free: 23 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.786e-05/0.139, allocations: 169.6 kB / 0.9837 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.01e-05/0.1391, allocations: 58.48 kB / 0.9838 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.903e-05/0.1391, allocations: 12.86 kB / 0.9838 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004352/0.1395, allocations: 0.5869 MB / 0.9844 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.19e-05/0.1395, allocations: 38.55 kB / 0.9844 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.1395, allocations: 4 kB / 0.9844 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003886/0.1399, allocations: 310.8 kB / 0.9847 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.876e-05/0.14, allocations: 55.34 kB / 0.9848 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.495e-05/0.14, allocations: 101.8 kB / 0.9849 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.054e-06/0.14, allocations: 25.7 kB / 0.9849 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.883e-05/0.14, allocations: 96.03 kB / 0.985 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.092e-05/0.1401, allocations: 35.5 kB / 0.985 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.454e-06/0.1401, allocations: 0 / 0.985 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.047e-05/0.1401, allocations: 314.8 kB / 0.9853 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.949e-05/0.1401, allocations: 12 kB / 0.9853 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.121e-05/0.1402, allocations: 53.14 kB / 0.9854 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.43e-05/0.1402, allocations: 73.08 kB / 0.9854 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1402, allocations: 0 / 0.9854 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.173e-05/0.1403, allocations: 85.56 kB / 0.9855 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/0.1403, allocations: 11.98 kB / 0.9855 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.586e-06/0.1403, allocations: 128 / 0.9855 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.1404, allocations: 8 kB / 0.9855 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.173e-05/0.1404, allocations: 23.94 kB / 0.9856 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.399e-06/0.1404, allocations: 0 / 0.9856 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.052e-05/0.1405, allocations: 7.938 kB / 0.9856 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.1405, allocations: 4 kB / 0.9856 GB, free: 20.63 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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.151e-05/0.1405, allocations: 123.1 kB / 0.9857 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.182e-05/0.1406, allocations: 7.906 kB / 0.9857 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.904e-05/0.1406, allocations: 8.25 kB / 0.9857 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1406, allocations: 8 kB / 0.9857 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.1406, allocations: 0 / 0.9857 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.1406, allocations: 7.922 kB / 0.9857 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001522/0.1408, allocations: 173.7 kB / 0.9859 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.1408, allocations: 0 / 0.9859 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.013e-05/0.1408, allocations: 15.98 kB / 0.9859 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.1408, allocations: 0 / 0.9859 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.062e-06/0.1409, allocations: 4 kB / 0.9859 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1409, allocations: 0 / 0.9859 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1409, allocations: 0 / 0.9859 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001038/0.141, allocations: 175.4 kB / 0.9861 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.503e-05/0.141, allocations: 89.05 kB / 0.9862 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.123e-05/0.141, allocations: 3.938 kB / 0.9862 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.676e-05/0.1411, allocations: 4 kB / 0.9862 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.105e-05/0.1411, allocations: 11.92 kB / 0.9862 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.1411, allocations: 4 kB / 0.9862 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.377e-05/0.1412, allocations: 75.28 kB / 0.9863 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1412, allocations: 3.938 kB / 0.9863 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001964/0.1414, allocations: 20 kB / 0.9863 GB, free: 19.82 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.0001975/0.1416, allocations: 0.697 MB / 0.987 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.779e-05/0.1416, allocations: 43.95 kB / 0.987 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1417, allocations: 4.25 kB / 0.987 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.695e-05/0.1417, allocations: 15.98 kB / 0.987 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002093/0.1419, allocations: 18.22 kB / 0.987 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006246/0.1425, allocations: 0.6728 MB / 0.9877 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.547e-05/0.1426, allocations: 0.6848 MB / 0.9884 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.598e-05/0.1427, allocations: 12.05 kB / 0.9884 GB, free: 17.56 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.573e-05/0.1427, allocations: 15.5 kB / 0.9884 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.1427, allocations: 0 / 0.9884 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5872/0.7299, allocations: 1.387 MB / 0.9897 GB, free: 16.28 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001313/0.7301, allocations: 180.1 kB / 0.9899 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.159/2.889, allocations: 0 / 0.9899 GB, free: 16.04 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Examples.WaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Media_Examples_WaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_0_0_Buildings_Media_Examples_WaterDerivativeCheck.fmu > Buildings_8.0.0_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1)