Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Media.Examples.WaterDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.WaterDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 196.6 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.248/1.248, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002024/0.002024, allocations: 282.6 kB / 290.7 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8925/0.8925, allocations: 169.3 MB / 0.4982 GB, free: 13.87 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001884/0.001884, allocations: 96.73 kB / 0.5953 GB, free: 27.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1293, allocations: 86.98 MB / 0.6803 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterDerivativeCheck): time 0.002247/0.1316, allocations: 1.266 MB / 0.6815 GB, free: 15.31 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003309/0.135, allocations: 3.254 MB / 0.6847 GB, free: 12.05 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.349e-05/0.135, allocations: 0 / 0.6847 GB, free: 12.05 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.902e-05/0.135, allocations: 3.938 kB / 0.6847 GB, free: 12.04 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.081e-05/0.1351, allocations: 7.922 kB / 0.6847 GB, free: 12.04 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004706/0.1356, allocations: 103.5 kB / 0.6848 GB, free: 11.93 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.421e-05/0.1356, allocations: 35.89 kB / 0.6848 GB, free: 11.9 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.486e-05/0.1357, allocations: 4 kB / 0.6848 GB, free: 11.89 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.117e-05/0.1357, allocations: 23.86 kB / 0.6849 GB, free: 11.87 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.126e-05/0.1358, allocations: 15.98 kB / 0.6849 GB, free: 11.86 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.114e-05/0.1358, allocations: 0 / 0.6849 GB, free: 11.86 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002301/0.136, allocations: 79.81 kB / 0.6849 GB, free: 11.78 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.737e-05/0.1361, allocations: 15.91 kB / 0.685 GB, free: 11.76 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.901e-05/0.1361, allocations: 15.94 kB / 0.685 GB, free: 11.75 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000171/0.1363, allocations: 72.12 kB / 0.685 GB, free: 11.68 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1363, allocations: 0 / 0.685 GB, free: 11.68 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1363, allocations: 0 / 0.685 GB, free: 11.68 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.1363, allocations: 0 / 0.685 GB, free: 11.68 MB / 494.1 MB 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.0003373/0.1366, allocations: 343.5 kB / 0.6854 GB, free: 11.29 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.1367, allocations: 12.03 kB / 0.6854 GB, free: 11.28 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.503e-05/0.1367, allocations: 38.73 kB / 0.6854 GB, free: 11.23 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.488e-05/0.1368, allocations: 8.844 kB / 0.6854 GB, free: 11.23 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.543e-05/0.1369, allocations: 168.3 kB / 0.6856 GB, free: 11.02 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.1369, allocations: 4.375 kB / 0.6856 GB, free: 11.02 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.97e-05/0.1369, allocations: 4.375 kB / 0.6856 GB, free: 11.02 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.1371, allocations: 57.61 kB / 0.6857 GB, free: 10.95 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.112e-06/0.1371, allocations: 0 / 0.6857 GB, free: 10.95 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.1371, allocations: 0 / 0.6857 GB, free: 10.95 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1371, allocations: 0 / 0.6857 GB, free: 10.95 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.485e-05/0.1372, allocations: 23.97 kB / 0.6857 GB, free: 10.93 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001402/0.1373, allocations: 165.6 kB / 0.6858 GB, free: 10.72 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.557e-05/0.1374, allocations: 54.5 kB / 0.6859 GB, free: 10.66 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.823e-05/0.1374, allocations: 16.84 kB / 0.6859 GB, free: 10.64 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006179/0.1381, allocations: 0.6026 MB / 0.6865 GB, free: 9.926 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/0.1381, allocations: 30.56 kB / 0.6865 GB, free: 9.887 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.372e-06/0.1381, allocations: 0 / 0.6865 GB, free: 9.887 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005125/0.1386, allocations: 302.2 kB / 0.6868 GB, free: 9.539 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.1387, allocations: 59.39 kB / 0.6869 GB, free: 9.469 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.475e-05/0.1387, allocations: 101.8 kB / 0.687 GB, free: 9.359 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.1387, allocations: 29.7 kB / 0.687 GB, free: 9.324 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.417e-05/0.1388, allocations: 84.05 kB / 0.6871 GB, free: 9.238 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.962e-05/0.1388, allocations: 35.61 kB / 0.6871 GB, free: 9.203 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.792e-05/0.1388, allocations: 29.72 kB / 0.6871 GB, free: 9.168 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.903e-05/0.1389, allocations: 314.8 kB / 0.6874 GB, free: 8.852 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.89e-05/0.139, allocations: 15.94 kB / 0.6874 GB, free: 8.836 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.861e-05/0.139, allocations: 49.14 kB / 0.6875 GB, free: 8.77 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.978e-05/0.1391, allocations: 77.08 kB / 0.6876 GB, free: 8.676 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1391, allocations: 0 / 0.6876 GB, free: 8.676 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001285/0.1392, allocations: 93.55 kB / 0.6877 GB, free: 8.578 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.1393, allocations: 7.938 kB / 0.6877 GB, free: 8.57 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.1393, allocations: 4 kB / 0.6877 GB, free: 8.566 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.1393, allocations: 0.5625 kB / 0.6877 GB, free: 8.566 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.462e-05/0.1394, allocations: 24 kB / 0.6877 GB, free: 8.543 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.1394, allocations: 3.984 kB / 0.6877 GB, free: 8.539 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.901e-05/0.1394, allocations: 11.94 kB / 0.6877 GB, free: 8.527 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.471e-06/0.1394, allocations: 4 kB / 0.6877 GB, free: 8.523 MB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.741e-05/0.1395, allocations: 118.4 kB / 0.6878 GB, free: 8.398 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.967e-05/0.1395, allocations: 7.906 kB / 0.6878 GB, free: 8.391 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.3e-05/0.1396, allocations: 7.969 kB / 0.6878 GB, free: 8.387 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1396, allocations: 0 / 0.6878 GB, free: 8.387 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.1396, allocations: 8 kB / 0.6878 GB, free: 8.379 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.1396, allocations: 3.938 kB / 0.6878 GB, free: 8.375 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002113/0.1398, allocations: 169.7 kB / 0.688 GB, free: 8.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1398, allocations: 0 / 0.688 GB, free: 8.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.34e-05/0.1399, allocations: 15.98 kB / 0.688 GB, free: 8.145 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1399, allocations: 0 / 0.688 GB, free: 8.145 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.1399, allocations: 4 kB / 0.688 GB, free: 8.141 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.1399, allocations: 4 kB / 0.688 GB, free: 8.137 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.14, allocations: 0 / 0.688 GB, free: 8.137 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001591/0.1401, allocations: 183.4 kB / 0.6882 GB, free: 7.941 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.317e-05/0.1402, allocations: 85.39 kB / 0.6883 GB, free: 7.84 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/0.1402, allocations: 0 / 0.6883 GB, free: 7.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.1403, allocations: 4.031 kB / 0.6883 GB, free: 7.836 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.438e-05/0.1403, allocations: 11.92 kB / 0.6883 GB, free: 7.824 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.1403, allocations: 11.98 kB / 0.6883 GB, free: 7.812 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.691e-05/0.1404, allocations: 79.22 kB / 0.6884 GB, free: 7.734 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1404, allocations: 0 / 0.6884 GB, free: 7.734 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002378/0.1406, allocations: 16 kB / 0.6884 GB, free: 7.719 MB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003638/0.141, allocations: 0.7047 MB / 0.6891 GB, free: 6.984 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001034/0.1411, allocations: 43.92 kB / 0.6891 GB, free: 6.941 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1411, allocations: 256 / 0.6891 GB, free: 6.941 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.504e-05/0.1411, allocations: 19.94 kB / 0.6892 GB, free: 6.922 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00026/0.1414, allocations: 9.828 kB / 0.6892 GB, free: 6.914 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/0.1427, allocations: 1.532 MB / 0.6907 GB, free: 5.273 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001875/0.1429, allocations: 0.6846 MB / 0.6913 GB, free: 4.562 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.184e-05/0.1429, allocations: 7.984 kB / 0.6913 GB, free: 4.555 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.261e-05/0.143, allocations: 11.44 kB / 0.6913 GB, free: 4.543 MB / 494.1 MB Notification: Performance of SimCode: time 3.11e-07/0.143, allocations: 0 / 0.6913 GB, free: 4.543 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1401/0.2831, allocations: 1.642 MB / 0.693 GB, free: 2.98 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.294/7.577, allocations: 8.766 kB / 0.693 GB, free: 2.977 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_WaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Media_Examples_WaterDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe 2>&1)