Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008765/0.0008765, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008708/0.0008708, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8857/0.8857, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.632/1.632, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.SteamDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.093e-06/2.093e-06, allocations: 0 / 0.9504 GB, free: 3.551 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.5e-05/2.709e-05, allocations: 5.094 kB / 0.9505 GB, free: 3.547 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.001924/0.001951, allocations: 1.27 MB / 0.9517 GB, free: 2.258 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.6457/0.6476, allocations: 120.9 MB / 1.07 GB, free: 41.37 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.916e-05/0.6476, allocations: 0 / 1.07 GB, free: 41.37 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 2.612e-05/0.6477, allocations: 0 / 1.07 GB, free: 41.37 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 5.511e-05/0.6477, allocations: 9.922 kB / 1.07 GB, free: 41.37 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.6488, allocations: 476.7 kB / 1.07 GB, free: 41.33 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 7.993e-05/0.6489, allocations: 39.8 kB / 1.07 GB, free: 41.33 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.219e-05/0.6489, allocations: 3.281 kB / 1.07 GB, free: 41.33 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 6.192e-05/0.649, allocations: 30.86 kB / 1.07 GB, free: 41.33 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.521e-05/0.649, allocations: 15.36 kB / 1.07 GB, free: 41.33 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/0.6491, allocations: 0 / 1.07 GB, free: 41.33 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009298/0.65, allocations: 0.8014 MB / 1.071 GB, free: 41.32 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 2.148e-05/0.65, allocations: 13.52 kB / 1.071 GB, free: 41.32 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 2.952e-05/0.65, allocations: 13 kB / 1.071 GB, free: 41.32 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005128/0.6506, allocations: 0.5624 MB / 1.072 GB, free: 41.31 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/0.6506, allocations: 4 kB / 1.072 GB, free: 41.3 MB / 0.9948 GB Notification: Performance of FrontEnd: time 3.096e-06/0.6506, allocations: 0 / 1.072 GB, free: 41.3 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.6506, allocations: 0 / 1.072 GB, free: 41.3 MB / 0.9948 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.0004706/0.651, allocations: 301.8 kB / 1.072 GB, free: 41.04 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.931e-05/0.6511, allocations: 10.06 kB / 1.072 GB, free: 41.04 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.448e-05/0.6511, allocations: 33.69 kB / 1.072 GB, free: 41 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001599/0.6513, allocations: 12.97 kB / 1.072 GB, free: 41 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.496e-05/0.6514, allocations: 105.8 kB / 1.072 GB, free: 40.87 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.6514, allocations: 3.312 kB / 1.072 GB, free: 40.87 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.159e-05/0.6514, allocations: 10.95 kB / 1.072 GB, free: 40.87 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001724/0.6516, allocations: 136.4 kB / 1.072 GB, free: 40.73 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.6516, allocations: 3.938 kB / 1.072 GB, free: 40.73 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.6516, allocations: 2.906 kB / 1.072 GB, free: 40.73 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.6516, allocations: 0 / 1.072 GB, free: 40.73 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.1e-05/0.6517, allocations: 23.09 kB / 1.072 GB, free: 40.73 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001238/0.6518, allocations: 134.7 kB / 1.072 GB, free: 40.57 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.855e-05/0.6519, allocations: 54.8 kB / 1.072 GB, free: 40.55 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.162e-05/0.6519, allocations: 14.08 kB / 1.073 GB, free: 40.54 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005202/0.6571, allocations: 2.867 MB / 1.075 GB, free: 40.28 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.6571, allocations: 34.38 kB / 1.075 GB, free: 40.24 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=7): time 1.853e-06/0.6571, allocations: 0 / 1.075 GB, free: 40.24 MB / 0.9948 GB Notification: Performance of matching and sorting (n=11): time 0.02381/0.6809, allocations: 14.93 MB / 1.09 GB, free: 38.45 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.958e-05/0.681, allocations: 54.34 kB / 1.09 GB, free: 38.38 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.025e-05/0.681, allocations: 92.28 kB / 1.09 GB, free: 38.29 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.681, allocations: 31.31 kB / 1.09 GB, free: 38.25 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 1.108e-05/0.681, allocations: 85.36 kB / 1.09 GB, free: 38.17 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 3.433e-05/0.6811, allocations: 44.8 kB / 1.09 GB, free: 38.14 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.444e-05/0.6811, allocations: 29.39 kB / 1.09 GB, free: 38.12 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 4.157e-05/0.6811, allocations: 317.4 kB / 1.091 GB, free: 37.81 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.037e-05/0.6812, allocations: 22.48 kB / 1.091 GB, free: 37.81 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.283e-05/0.6812, allocations: 22.77 kB / 1.091 GB, free: 37.81 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001311/0.6814, allocations: 63.61 kB / 1.091 GB, free: 37.8 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.6814, allocations: 0 / 1.091 GB, free: 37.8 MB / 0.9948 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001759/0.6815, allocations: 108.4 kB / 1.091 GB, free: 37.77 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.6816, allocations: 4.438 kB / 1.091 GB, free: 37.77 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.6816, allocations: 1.766 kB / 1.091 GB, free: 37.77 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.6816, allocations: 4 kB / 1.091 GB, free: 37.76 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.6817, allocations: 29.88 kB / 1.091 GB, free: 37.76 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.6817, allocations: 1.062 kB / 1.091 GB, free: 37.76 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.899e-05/0.6817, allocations: 1.219 kB / 1.091 GB, free: 37.76 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.6817, allocations: 7.531 kB / 1.091 GB, free: 37.76 MB / 0.9948 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 5.84e-05/0.6818, allocations: 112.6 kB / 1.091 GB, free: 37.64 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.406e-05/0.6818, allocations: 12.8 kB / 1.091 GB, free: 37.64 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002289/0.6821, allocations: 129 kB / 1.091 GB, free: 37.59 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.6821, allocations: 2.156 kB / 1.091 GB, free: 37.59 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.6821, allocations: 5.141 kB / 1.091 GB, free: 37.59 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.6821, allocations: 0.5625 kB / 1.091 GB, free: 37.59 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.96e-05/0.6822, allocations: 141.8 kB / 1.091 GB, free: 37.43 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.6822, allocations: 3.938 kB / 1.091 GB, free: 37.43 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.527e-05/0.6823, allocations: 26.66 kB / 1.091 GB, free: 37.43 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.6823, allocations: 1.312 kB / 1.091 GB, free: 37.43 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.6823, allocations: 1.797 kB / 1.091 GB, free: 37.43 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.6823, allocations: 5.312 kB / 1.091 GB, free: 37.43 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.6823, allocations: 0.7969 kB / 1.091 GB, free: 37.43 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002359/0.6825, allocations: 156.2 kB / 1.091 GB, free: 37.36 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.841e-05/0.6826, allocations: 16.66 kB / 1.091 GB, free: 37.35 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.41e-05/0.6826, allocations: 4.375 kB / 1.091 GB, free: 37.35 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.687e-05/0.6827, allocations: 11.33 kB / 1.091 GB, free: 37.35 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.334e-05/0.6827, allocations: 11.86 kB / 1.091 GB, free: 37.35 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.6827, allocations: 8.766 kB / 1.091 GB, free: 37.35 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 1.785e-05/0.6827, allocations: 81.08 kB / 1.092 GB, free: 37.27 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.6827, allocations: 0 / 1.092 GB, free: 37.27 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.002341/0.6851, allocations: 0.5629 MB / 1.092 GB, free: 37.25 MB / 0.9948 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.00277/0.6878, allocations: 0.9722 MB / 1.093 GB, free: 36.62 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001959/0.688, allocations: 61.28 kB / 1.093 GB, free: 36.62 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.688, allocations: 0 / 1.093 GB, free: 36.62 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 4.189e-05/0.6881, allocations: 34.05 kB / 1.093 GB, free: 36.62 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001816/0.6883, allocations: 11.86 kB / 1.093 GB, free: 36.61 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001449/0.6897, allocations: 1.49 MB / 1.095 GB, free: 35.41 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.12e-05/0.6897, allocations: 69.92 kB / 1.095 GB, free: 35.34 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 6.069e-05/0.6898, allocations: 24.27 kB / 1.095 GB, free: 35.32 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.256e-05/0.6898, allocations: 22.86 kB / 1.095 GB, free: 35.32 MB / 0.9948 GB Notification: Performance of SimCode: time 1.323e-06/0.6898, allocations: 1.406 kB / 1.095 GB, free: 35.32 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06467/0.7545, allocations: 26.18 MB / 1.12 GB, free: 32.3 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.127/7.882, allocations: 11.08 kB / 1.12 GB, free: 32.29 MB / 0.9948 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Examples_SteamDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-10 Buildings_11_Buildings_Media_Examples_SteamDerivativeCheck.fmu > Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 13.912396021187305] Failed to read output from testmodel.py, exit status != 0: 7.97515088878572 7.987480689 7.3348650189999995 Calling exit ...