Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001859/0.001859, allocations: 99.64 kB / 18.95 MB, free: 2.66 MB / 14.72 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.002795/0.002795, allocations: 215.9 kB / 22.24 MB, free: 5.262 MB / 14.72 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 1.514/1.514, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.244/3.244, allocations: 0.49 GB / 0.7951 GB, free: 35.41 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamDerivativeCheck,fileNamePrefix="Buildings_12_Buildings_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002098/0.002098, allocations: 67.47 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3966/0.3987, allocations: 176.1 MB / 1.326 GB, free: 1.508 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.00252/0.4012, allocations: 1.283 MB / 1.327 GB, free: 224 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1717/0.5729, allocations: 120.9 MB / 1.445 GB, free: 6.844 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.961e-05/0.573, allocations: 0 / 1.445 GB, free: 6.844 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 2.344e-05/0.573, allocations: 3.938 kB / 1.445 GB, free: 6.84 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 4.822e-05/0.573, allocations: 3.984 kB / 1.445 GB, free: 6.836 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001238/0.5743, allocations: 466.6 kB / 1.446 GB, free: 6.379 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 7.892e-05/0.5744, allocations: 43.84 kB / 1.446 GB, free: 6.336 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 3.259e-05/0.5744, allocations: 0 / 1.446 GB, free: 6.336 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 5.201e-05/0.5744, allocations: 23.91 kB / 1.446 GB, free: 6.312 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 7.364e-05/0.5745, allocations: 19.92 kB / 1.446 GB, free: 6.293 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 9.497e-06/0.5745, allocations: 0 / 1.446 GB, free: 6.293 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001457/0.576, allocations: 0.8231 MB / 1.446 GB, free: 5.469 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 1.918e-05/0.576, allocations: 8 kB / 1.446 GB, free: 5.461 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 3.195e-05/0.576, allocations: 23.84 kB / 1.447 GB, free: 5.438 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0006486/0.5767, allocations: 443.1 kB / 1.447 GB, free: 5.004 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.5767, allocations: 3.938 kB / 1.447 GB, free: 5 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5767, allocations: 0 / 1.447 GB, free: 5 MB / 1.139 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.5767, allocations: 4 kB / 1.447 GB, free: 4.996 MB / 1.139 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.0004942/0.5772, allocations: 298.1 kB / 1.447 GB, free: 4.676 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.5772, allocations: 8.031 kB / 1.447 GB, free: 4.668 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.087e-05/0.5773, allocations: 30.75 kB / 1.447 GB, free: 4.629 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001589/0.5774, allocations: 8.938 kB / 1.447 GB, free: 4.621 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.116e-05/0.5775, allocations: 114.5 kB / 1.447 GB, free: 4.484 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.5775, allocations: 384 / 1.447 GB, free: 4.484 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.702e-05/0.5776, allocations: 11.92 kB / 1.447 GB, free: 4.473 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002229/0.5778, allocations: 138.7 kB / 1.448 GB, free: 4.312 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.5778, allocations: 0 / 1.448 GB, free: 4.312 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.5778, allocations: 8 kB / 1.448 GB, free: 4.305 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.718e-06/0.5778, allocations: 0 / 1.448 GB, free: 4.305 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.511e-05/0.5779, allocations: 15.98 kB / 1.448 GB, free: 4.289 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000178/0.5781, allocations: 140.7 kB / 1.448 GB, free: 4.109 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001091/0.5782, allocations: 54.44 kB / 1.448 GB, free: 4.047 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.971e-05/0.5782, allocations: 12.86 kB / 1.448 GB, free: 4.031 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01116/0.5894, allocations: 2.872 MB / 1.451 GB, free: 1.156 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.56e-05/0.5894, allocations: 30.56 kB / 1.451 GB, free: 1.117 MB / 1.139 GB Notification: Performance of pre-optimization done (n=7): time 2.355e-06/0.5894, allocations: 0 / 1.451 GB, free: 1.117 MB / 1.139 GB Notification: Performance of matching and sorting (n=11): time 0.04106/0.6305, allocations: 14.92 MB / 1.465 GB, free: 2.062 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.514e-05/0.6305, allocations: 59.39 kB / 1.465 GB, free: 1.992 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.146e-05/0.6306, allocations: 93.86 kB / 1.465 GB, free: 1.891 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.606e-05/0.6306, allocations: 29.7 kB / 1.465 GB, free: 1.855 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 3.671e-05/0.6307, allocations: 80.14 kB / 1.465 GB, free: 1.773 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 4.887e-05/0.6307, allocations: 43.67 kB / 1.465 GB, free: 1.73 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.444e-05/0.6308, allocations: 37.8 kB / 1.465 GB, free: 1.688 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.6309, allocations: 322.8 kB / 1.466 GB, free: 1.363 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.52e-05/0.631, allocations: 23.98 kB / 1.466 GB, free: 1.34 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.681e-05/0.631, allocations: 29.69 kB / 1.466 GB, free: 1.312 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001252/0.6311, allocations: 60.78 kB / 1.466 GB, free: 1.25 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.6311, allocations: 0 / 1.466 GB, free: 1.25 MB / 1.154 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002239/0.6314, allocations: 98.69 kB / 1.466 GB, free: 1.148 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.6314, allocations: 13.7 kB / 1.466 GB, free: 1.137 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.6314, allocations: 0 / 1.466 GB, free: 1.137 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.6314, allocations: 0 / 1.466 GB, free: 1.137 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.6315, allocations: 27.88 kB / 1.466 GB, free: 1.109 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.6315, allocations: 4 kB / 1.466 GB, free: 1.105 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.759e-05/0.6316, allocations: 4 kB / 1.466 GB, free: 1.102 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.6316, allocations: 7.984 kB / 1.466 GB, free: 1.094 MB / 1.154 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 9.109e-05/0.6317, allocations: 118.3 kB / 1.466 GB, free: 0.9688 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.246e-05/0.6317, allocations: 7.953 kB / 1.466 GB, free: 0.9609 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002794/0.632, allocations: 125.4 kB / 1.466 GB, free: 0.832 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.632, allocations: 4 kB / 1.466 GB, free: 0.8281 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.632, allocations: 0 / 1.466 GB, free: 0.8281 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.632, allocations: 0 / 1.466 GB, free: 0.8281 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001609/0.6322, allocations: 144.6 kB / 1.466 GB, free: 0.6445 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.6322, allocations: 0 / 1.466 GB, free: 0.6445 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001267/0.6323, allocations: 27.98 kB / 1.466 GB, free: 0.6172 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.6323, allocations: 0 / 1.466 GB, free: 0.6172 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.6323, allocations: 4 kB / 1.466 GB, free: 0.6133 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.6323, allocations: 0 / 1.466 GB, free: 0.6133 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.6323, allocations: 0 / 1.466 GB, free: 0.6133 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003253/0.6326, allocations: 164.9 kB / 1.467 GB, free: 444 kB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 4.673e-05/0.6327, allocations: 16.03 kB / 1.467 GB, free: 428 kB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.6327, allocations: 4 kB / 1.467 GB, free: 424 kB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001532/0.6328, allocations: 11.98 kB / 1.467 GB, free: 412 kB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.535e-05/0.6329, allocations: 15.98 kB / 1.467 GB, free: 396 kB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.6329, allocations: 4 kB / 1.467 GB, free: 392 kB / 1.154 GB Notification: Performance of sorting global known variables: time 3.734e-05/0.6329, allocations: 75.28 kB / 1.467 GB, free: 316 kB / 1.154 GB Notification: Performance of sort global known variables: time 1e-07/0.6329, allocations: 7.875 kB / 1.467 GB, free: 308 kB / 1.154 GB Notification: Performance of remove unused functions: time 0.001754/0.6347, allocations: 0.57 MB / 1.467 GB, free: 15.73 MB / 1.17 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.003468/0.6381, allocations: 0.9497 MB / 1.468 GB, free: 14.75 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0001874/0.6383, allocations: 63.92 kB / 1.468 GB, free: 14.69 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.6383, allocations: 0 / 1.468 GB, free: 14.69 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 6.269e-05/0.6384, allocations: 31.92 kB / 1.468 GB, free: 14.66 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001859/0.6386, allocations: 8 kB / 1.468 GB, free: 14.65 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002249/0.6408, allocations: 1.54 MB / 1.47 GB, free: 13.03 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.454e-05/0.6409, allocations: 75.34 kB / 1.47 GB, free: 12.94 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 8.411e-05/0.641, allocations: 28.47 kB / 1.47 GB, free: 12.91 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.945e-05/0.641, allocations: 23.44 kB / 1.47 GB, free: 12.89 MB / 1.17 GB Notification: Performance of SimCode: time 5.91e-07/0.641, allocations: 4 kB / 1.47 GB, free: 12.88 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06568/0.7067, allocations: 26.07 MB / 1.495 GB, free: 2.922 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/12.66, allocations: 4.062 kB / 1.495 GB, free: 2.918 MB / 1.186 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck_res.mat --tempDir=temp_Buildings_12_Buildings_Media_Examples_SteamDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-10 Buildings_12_Buildings_Media_Examples_SteamDerivativeCheck.fmu > Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 23.222182369994698] Failed to read output from testmodel.py, exit status != 0: 12.769182610994903 12.785346091 12.205420292 Calling exit ...