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.005632/0.005632, allocations: 102.5 kB / 15.73 MB, free: 6.484 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.001225/0.001225, allocations: 190.1 kB / 16.67 MB, free: 6.379 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.333/1.333, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002098/0.002098, allocations: 275.1 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9018/0.9018, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001886/0.001886, allocations: 99.28 kB / 0.6809 GB, free: 68 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.1793, allocations: 86.98 MB / 0.7659 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamDerivativeCheck): time 0.002063/0.1814, allocations: 1.265 MB / 0.7671 GB, free: 7.734 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4741/0.6555, allocations: 137.7 MB / 0.9016 GB, free: 8.309 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.074e-05/0.6556, allocations: 4 kB / 0.9016 GB, free: 8.305 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.109e-05/0.6556, allocations: 0 / 0.9016 GB, free: 8.305 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.444e-05/0.6557, allocations: 11.91 kB / 0.9016 GB, free: 8.293 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001215/0.6569, allocations: 463.4 kB / 0.902 GB, free: 7.848 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.758e-05/0.657, allocations: 39.86 kB / 0.9021 GB, free: 7.809 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.247e-05/0.657, allocations: 4 kB / 0.9021 GB, free: 7.805 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.005e-05/0.6571, allocations: 27.91 kB / 0.9021 GB, free: 7.777 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.723e-05/0.6572, allocations: 15.92 kB / 0.9021 GB, free: 7.762 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.105e-05/0.6572, allocations: 4 kB / 0.9021 GB, free: 7.758 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001404/0.6586, allocations: 0.8359 MB / 0.9029 GB, free: 6.926 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.587e-05/0.6586, allocations: 7.984 kB / 0.9029 GB, free: 6.918 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.157e-05/0.6587, allocations: 15.92 kB / 0.903 GB, free: 6.902 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005925/0.6593, allocations: 453 kB / 0.9034 GB, free: 6.461 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.6593, allocations: 0 / 0.9034 GB, free: 6.461 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.152e-06/0.6593, allocations: 1.688 kB / 0.9034 GB, free: 6.461 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.6593, allocations: 0 / 0.9034 GB, free: 6.461 MB / 0.6544 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.000455/0.6597, allocations: 368 kB / 0.9037 GB, free: 6.055 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.6598, allocations: 16.03 kB / 0.9038 GB, free: 6.039 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.527e-05/0.6598, allocations: 34.75 kB / 0.9038 GB, free: 5.996 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001616/0.66, allocations: 12.92 kB / 0.9038 GB, free: 5.984 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.124e-05/0.6601, allocations: 160.4 kB / 0.904 GB, free: 5.789 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.6601, allocations: 4.562 kB / 0.904 GB, free: 5.785 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.6601, allocations: 11.94 kB / 0.904 GB, free: 5.773 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.6603, allocations: 57.61 kB / 0.904 GB, free: 5.711 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.6603, allocations: 0 / 0.904 GB, free: 5.711 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/0.6603, allocations: 0 / 0.904 GB, free: 5.711 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.6603, allocations: 0 / 0.904 GB, free: 5.711 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.901e-05/0.6604, allocations: 23.98 kB / 0.9041 GB, free: 5.688 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001547/0.6605, allocations: 169.6 kB / 0.9042 GB, free: 5.473 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.6606, allocations: 56.77 kB / 0.9043 GB, free: 5.41 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.855e-05/0.6607, allocations: 20.78 kB / 0.9043 GB, free: 5.387 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009998/0.6707, allocations: 3.206 MB / 0.9074 GB, free: 2.086 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/0.6707, allocations: 31.59 kB / 0.9075 GB, free: 2.047 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 3.457e-06/0.6708, allocations: 4 kB / 0.9075 GB, free: 2.043 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11): time 0.03862/0.7094, allocations: 15.01 MB / 0.9221 GB, free: 2.887 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.326e-05/0.7095, allocations: 55.41 kB / 0.9222 GB, free: 2.82 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.984e-05/0.7095, allocations: 93.86 kB / 0.9223 GB, free: 2.719 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.7096, allocations: 25.7 kB / 0.9223 GB, free: 2.688 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 2.944e-05/0.7096, allocations: 88.14 kB / 0.9224 GB, free: 2.598 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 4.556e-05/0.7096, allocations: 35.45 kB / 0.9224 GB, free: 2.562 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.628e-05/0.7097, allocations: 29.7 kB / 0.9224 GB, free: 2.527 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.7098, allocations: 322.8 kB / 0.9227 GB, free: 2.203 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.731e-05/0.7099, allocations: 23.98 kB / 0.9228 GB, free: 2.18 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.852e-05/0.7099, allocations: 32.55 kB / 0.9228 GB, free: 2.148 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001232/0.7101, allocations: 66.17 kB / 0.9229 GB, free: 2.082 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.7101, allocations: 0 / 0.9229 GB, free: 2.082 MB / 0.67 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002207/0.7103, allocations: 103.5 kB / 0.9229 GB, free: 1.977 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.7103, allocations: 4 kB / 0.923 GB, free: 1.973 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.7104, allocations: 5.5 kB / 0.923 GB, free: 1.969 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.7104, allocations: 0 / 0.923 GB, free: 1.969 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.7105, allocations: 35.91 kB / 0.923 GB, free: 1.934 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.7105, allocations: 0 / 0.923 GB, free: 1.934 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.686e-05/0.7105, allocations: 0 / 0.923 GB, free: 1.934 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.7106, allocations: 4 kB / 0.923 GB, free: 1.93 MB / 0.67 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 8.95e-05/0.7107, allocations: 122.4 kB / 0.9231 GB, free: 1.801 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.142e-05/0.7107, allocations: 0 / 0.9231 GB, free: 1.801 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002622/0.711, allocations: 121.6 kB / 0.9232 GB, free: 1.676 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.711, allocations: 4 kB / 0.9232 GB, free: 1.672 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.711, allocations: 7.938 kB / 0.9232 GB, free: 1.664 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.711, allocations: 0 / 0.9232 GB, free: 1.664 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001474/0.7112, allocations: 185.5 kB / 0.9234 GB, free: 1.434 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.7112, allocations: 1.688 kB / 0.9234 GB, free: 1.434 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001205/0.7113, allocations: 23.98 kB / 0.9234 GB, free: 1.41 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.7113, allocations: 0 / 0.9234 GB, free: 1.41 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.7113, allocations: 4 kB / 0.9234 GB, free: 1.406 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.102e-06/0.7113, allocations: 7.984 kB / 0.9235 GB, free: 1.398 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.7114, allocations: 0 / 0.9235 GB, free: 1.398 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002871/0.7116, allocations: 160.9 kB / 0.9236 GB, free: 1.223 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 7.345e-05/0.7117, allocations: 89.05 kB / 0.9237 GB, free: 1.117 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.7118, allocations: 7.984 kB / 0.9237 GB, free: 1.109 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.7119, allocations: 8 kB / 0.9237 GB, free: 1.102 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.002e-05/0.7119, allocations: 11.92 kB / 0.9237 GB, free: 1.09 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.7119, allocations: 8 kB / 0.9237 GB, free: 1.082 MB / 0.67 GB Notification: Performance of sorting global known variables: time 3.01e-05/0.712, allocations: 79.28 kB / 0.9238 GB, free: 1.004 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/0.712, allocations: 0 / 0.9238 GB, free: 1.004 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001605/0.7136, allocations: 0.5702 MB / 0.9244 GB, free: 444 kB / 0.67 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.003784/0.7174, allocations: 0.9335 MB / 0.9253 GB, free: 15.47 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0001684/0.7176, allocations: 55.98 kB / 0.9253 GB, free: 15.42 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.7176, allocations: 0 / 0.9253 GB, free: 15.42 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 6.417e-05/0.7176, allocations: 43.92 kB / 0.9254 GB, free: 15.38 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001819/0.7178, allocations: 9.906 kB / 0.9254 GB, free: 15.37 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002125/0.72, allocations: 1.553 MB / 0.9269 GB, free: 13.74 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001827/0.7202, allocations: 0.6922 MB / 0.9276 GB, free: 13.02 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 7.948e-05/0.7203, allocations: 28.91 kB / 0.9276 GB, free: 13 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.25e-05/0.7203, allocations: 23.44 kB / 0.9276 GB, free: 12.97 MB / 0.6856 GB Notification: Performance of SimCode: time 3.31e-07/0.7203, allocations: 0 / 0.9276 GB, free: 12.97 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04965/0.77, allocations: 25.49 MB / 0.9525 GB, free: 3.57 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.795/8.565, allocations: 7.656 kB / 0.9525 GB, free: 3.566 MB / 0.7012 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)