Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.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.SteamDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.SteamDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_SteamDerivativeCheck",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.0008889/0.0008888, allocations: 97.64 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005238/0.005238, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.238/1.238, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001656/0.001656, allocations: 263 kB / 291.7 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8894/0.8894, allocations: 169.5 MB / 0.5004 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003804/0.0003804, allocations: 17.11 kB / 0.5988 GB, free: 28.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1326, allocations: 88.55 MB / 0.6852 GB, free: 15.01 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamDerivativeCheck): time 0.001062/0.1337, allocations: 0.9882 MB / 0.6862 GB, free: 14.01 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3887/0.5225, allocations: 134.3 MB / 0.8173 GB, free: 0.6328 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.36e-05/0.5225, allocations: 0 / 0.8173 GB, free: 0.6328 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.641e-05/0.5225, allocations: 0 / 0.8173 GB, free: 0.6328 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.098e-05/0.5226, allocations: 5.188 kB / 0.8173 GB, free: 0.6289 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008622/0.5235, allocations: 370 kB / 0.8176 GB, free: 0.5938 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.329e-05/0.5235, allocations: 43.45 kB / 0.8177 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.178e-05/0.5236, allocations: 2.188 kB / 0.8177 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.599e-05/0.5236, allocations: 27.12 kB / 0.8177 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.034e-05/0.5237, allocations: 22.52 kB / 0.8177 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.588e-06/0.5237, allocations: 2 kB / 0.8177 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001201/0.5249, allocations: 0.823 MB / 0.8185 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.3e-05/0.5249, allocations: 7.953 kB / 0.8186 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.504e-05/0.525, allocations: 46.3 kB / 0.8186 GB, free: 16.52 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004453/0.5254, allocations: 440.8 kB / 0.819 GB, free: 16.41 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.5254, allocations: 0 / 0.819 GB, free: 16.41 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.082e-06/0.5255, allocations: 0 / 0.819 GB, free: 16.41 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.326e-06/0.5255, allocations: 1.188 kB / 0.819 GB, free: 16.41 MB / 0.5606 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.0003906/0.5259, allocations: 354.3 kB / 0.8194 GB, free: 16.05 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.5259, allocations: 9.594 kB / 0.8194 GB, free: 16.05 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.326e-05/0.5259, allocations: 40.92 kB / 0.8194 GB, free: 16 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001505/0.5261, allocations: 13.72 kB / 0.8194 GB, free: 16 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.831e-05/0.5262, allocations: 173.4 kB / 0.8196 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.213e-06/0.5262, allocations: 1.906 kB / 0.8196 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.995e-05/0.5262, allocations: 11.31 kB / 0.8196 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/0.5263, allocations: 49.38 kB / 0.8196 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.5263, allocations: 3.984 kB / 0.8196 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.5264, allocations: 4.969 kB / 0.8197 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.808e-06/0.5264, allocations: 1 kB / 0.8197 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.476e-05/0.5264, allocations: 18.23 kB / 0.8197 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001239/0.5266, allocations: 160.5 kB / 0.8198 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.195e-05/0.5266, allocations: 51.5 kB / 0.8199 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.5e-05/0.5267, allocations: 24.12 kB / 0.8199 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01056/0.5372, allocations: 3.211 MB / 0.823 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.5373, allocations: 32.84 kB / 0.8231 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.313e-06/0.5373, allocations: 0 / 0.8231 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.03636/0.5737, allocations: 14.26 MB / 0.837 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.062e-05/0.5737, allocations: 54.66 kB / 0.837 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.234e-05/0.5738, allocations: 93.36 kB / 0.8371 GB, free: 9.535 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.5738, allocations: 28.64 kB / 0.8372 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.694e-05/0.5738, allocations: 83.89 kB / 0.8372 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.781e-05/0.5739, allocations: 45.03 kB / 0.8373 GB, free: 9.387 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.638e-05/0.5739, allocations: 26.62 kB / 0.8373 GB, free: 9.363 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.345e-05/0.574, allocations: 322.3 kB / 0.8376 GB, free: 9.043 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.686e-05/0.574, allocations: 28.95 kB / 0.8376 GB, free: 9.035 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.387e-05/0.5741, allocations: 21.06 kB / 0.8377 GB, free: 9.035 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.942e-05/0.5742, allocations: 57.41 kB / 0.8377 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.5742, allocations: 0 / 0.8377 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001903/0.5744, allocations: 115.1 kB / 0.8378 GB, free: 8.977 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.5744, allocations: 6.219 kB / 0.8378 GB, free: 8.977 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.5744, allocations: 0 / 0.8378 GB, free: 8.977 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.789e-06/0.5744, allocations: 4 kB / 0.8378 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.824e-05/0.5745, allocations: 24.16 kB / 0.8379 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.5746, allocations: 7.109 kB / 0.8379 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.443e-05/0.5746, allocations: 3.625 kB / 0.8379 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.5746, allocations: 3.031 kB / 0.8379 GB, free: 8.965 MB / 0.5606 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 (14): * Single equations (assignments): 14 * 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.974e-05/0.5747, allocations: 116.9 kB / 0.838 GB, free: 8.848 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.689e-05/0.5747, allocations: 5.062 kB / 0.838 GB, free: 8.848 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002351/0.575, allocations: 131.8 kB / 0.8381 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.575, allocations: 0 / 0.8381 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.575, allocations: 2.844 kB / 0.8381 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.575, allocations: 0 / 0.8381 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001191/0.5751, allocations: 178.2 kB / 0.8383 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.5751, allocations: 0 / 0.8383 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001072/0.5752, allocations: 22.7 kB / 0.8383 GB, free: 8.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.5752, allocations: 2.875 kB / 0.8383 GB, free: 8.57 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.5753, allocations: 7.688 kB / 0.8383 GB, free: 8.566 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.5753, allocations: 5.031 kB / 0.8383 GB, free: 8.566 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.5753, allocations: 0 / 0.8383 GB, free: 8.566 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002442/0.5755, allocations: 147.9 kB / 0.8385 GB, free: 8.484 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.463e-05/0.5756, allocations: 95.89 kB / 0.8386 GB, free: 8.379 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/0.5756, allocations: 2.875 kB / 0.8386 GB, free: 8.379 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/0.5758, allocations: 19.58 kB / 0.8386 GB, free: 8.371 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.171e-05/0.5758, allocations: 8.797 kB / 0.8386 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.5758, allocations: 8.875 kB / 0.8386 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.55e-05/0.5758, allocations: 75.28 kB / 0.8387 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5758, allocations: 0 / 0.8387 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00125/0.5771, allocations: 0.5615 MB / 0.8392 GB, free: 8.27 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,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 (11): * Single equations (assignments): 11 * 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.003057/0.5801, allocations: 0.9458 MB / 0.8401 GB, free: 7.594 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000128/0.5803, allocations: 64.16 kB / 0.8402 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.5803, allocations: 0 / 0.8402 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.43e-05/0.5804, allocations: 41.11 kB / 0.8402 GB, free: 7.574 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001599/0.5805, allocations: 8.031 kB / 0.8402 GB, free: 7.574 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001826/0.5824, allocations: 1.603 MB / 0.8418 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001895/0.5826, allocations: 0.6954 MB / 0.8425 GB, free: 5.504 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.768e-05/0.5826, allocations: 21.55 kB / 0.8425 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.747e-05/0.5827, allocations: 26.61 kB / 0.8425 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of SimCode: time 2.4e-07/0.5827, allocations: 0 / 0.8425 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05578/0.6385, allocations: 25.22 MB / 0.8672 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001664/0.6387, allocations: 206.5 kB / 0.8674 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.29/2.928, allocations: 3.5 kB / 0.8674 GB, free: 13.2 MB / 0.5919 GB (rm -f BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_SteamDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-10 BuildingSystems_BuildingSystems_Media_Examples_SteamDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe 2>&1)