Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.WaterDerivativeCheck,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterDerivativeCheck,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.484/1.484, allocations: 249.5 MB / 257 MB, free: 6.922 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001038/0.001038, allocations: 183.1 kB / 316.3 MB, free: 3.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.754/1.754, allocations: 205.3 MB / 0.5671 GB, free: 15.84 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001183/0.001183, allocations: 95.53 kB / 0.6714 GB, free: 4.945 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.023e-05/2.061e-05, allocations: 0 / 0.7814 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.214/0.214, allocations: 106.3 MB / 0.8853 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9646/1.179, allocations: 359.7 MB / 1.237 GB, free: 9.641 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002486/1.179, allocations: 73.7 kB / 1.237 GB, free: 9.602 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.5523/1.731, allocations: 12.64 MB / 1.249 GB, free: 311.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.695e-06/1.731, allocations: 1.688 kB / 1.249 GB, free: 311.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.268e-05/1.731, allocations: 0.75 kB / 1.249 GB, free: 311.9 MB / 0.8542 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.0003996/1.732, allocations: 340.2 kB / 1.249 GB, free: 311.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.855e-05/1.732, allocations: 12.59 kB / 1.249 GB, free: 311.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001267/1.732, allocations: 4.422 kB / 1.249 GB, free: 311.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.471e-05/1.732, allocations: 165.7 kB / 1.25 GB, free: 311.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/1.732, allocations: 0.9375 kB / 1.25 GB, free: 311.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.108e-05/1.732, allocations: 4.375 kB / 1.25 GB, free: 311.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.511e-05/1.732, allocations: 16.64 kB / 1.25 GB, free: 311.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/1.732, allocations: 50.11 kB / 1.25 GB, free: 311.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/1.732, allocations: 3.844 kB / 1.25 GB, free: 311.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/1.732, allocations: 0.5938 kB / 1.25 GB, free: 311.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/1.732, allocations: 0.7188 kB / 1.25 GB, free: 311.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001477/1.733, allocations: 145.2 kB / 1.25 GB, free: 311.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 9.526e-05/1.733, allocations: 43.05 kB / 1.25 GB, free: 311.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.368e-05/1.733, allocations: 20.42 kB / 1.25 GB, free: 311.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007353/1.733, allocations: 0.6087 MB / 1.25 GB, free: 310.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.973e-05/1.734, allocations: 34.14 kB / 1.25 GB, free: 310.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=5): time 1.403e-06/1.734, allocations: 3.031 kB / 1.25 GB, free: 310.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0005596/1.734, allocations: 285 kB / 1.251 GB, free: 310.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.379e-05/1.734, allocations: 53.39 kB / 1.251 GB, free: 310.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.249e-05/1.734, allocations: 90.38 kB / 1.251 GB, free: 310.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/1.734, allocations: 27.12 kB / 1.251 GB, free: 310.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.548e-05/1.734, allocations: 93.83 kB / 1.251 GB, free: 310 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.307e-05/1.734, allocations: 24.38 kB / 1.251 GB, free: 310 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.548e-06/1.734, allocations: 0 / 1.251 GB, free: 310 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.559e-05/1.734, allocations: 315.1 kB / 1.251 GB, free: 309.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.704e-05/1.734, allocations: 10.38 kB / 1.251 GB, free: 309.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.282e-05/1.734, allocations: 51.3 kB / 1.251 GB, free: 309.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.586e-05/1.735, allocations: 19.64 kB / 1.251 GB, free: 309.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/1.735, allocations: 0.6562 kB / 1.251 GB, free: 309.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001521/1.735, allocations: 85.86 kB / 1.251 GB, free: 309.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/1.735, allocations: 5.75 kB / 1.251 GB, free: 309.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/1.735, allocations: 4.281 kB / 1.251 GB, free: 309.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/1.735, allocations: 2.422 kB / 1.251 GB, free: 309.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.647e-05/1.735, allocations: 23.7 kB / 1.251 GB, free: 309.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/1.735, allocations: 6.406 kB / 1.251 GB, free: 309.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.981e-05/1.735, allocations: 5.312 kB / 1.251 GB, free: 309.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/1.735, allocations: 4.219 kB / 1.251 GB, free: 309.6 MB / 0.8542 GB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.713e-05/1.735, allocations: 105.7 kB / 1.252 GB, free: 309.4 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001041/1.735, allocations: 52 kB / 1.252 GB, free: 309.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.425e-05/1.735, allocations: 6.344 kB / 1.252 GB, free: 309.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.188e-05/1.735, allocations: 11.94 kB / 1.252 GB, free: 309.4 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/1.735, allocations: 6.312 kB / 1.252 GB, free: 309.4 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/1.735, allocations: 0.5312 kB / 1.252 GB, free: 309.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/1.735, allocations: 0.6562 kB / 1.252 GB, free: 309.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002074/1.735, allocations: 149.4 kB / 1.252 GB, free: 309.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/1.735, allocations: 0 / 1.252 GB, free: 309.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.802e-05/1.736, allocations: 20.66 kB / 1.252 GB, free: 309.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/1.736, allocations: 3.375 kB / 1.252 GB, free: 309.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/1.736, allocations: 0 / 1.252 GB, free: 309.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/1.736, allocations: 3.297 kB / 1.252 GB, free: 309.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/1.736, allocations: 0 / 1.252 GB, free: 309.2 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001493/1.736, allocations: 172.3 kB / 1.252 GB, free: 309.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.574e-05/1.736, allocations: 84.98 kB / 1.252 GB, free: 309 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/1.736, allocations: 1.344 kB / 1.252 GB, free: 309 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.733e-05/1.736, allocations: 2.797 kB / 1.252 GB, free: 309 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.625e-05/1.736, allocations: 4.156 kB / 1.252 GB, free: 309 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/1.736, allocations: 7.078 kB / 1.252 GB, free: 309 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.196e-05/1.736, allocations: 81.86 kB / 1.252 GB, free: 308.9 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.5e-07/1.736, allocations: 0 / 1.252 GB, free: 308.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002436/1.736, allocations: 15.17 kB / 1.252 GB, free: 308.9 MB / 0.8542 GB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003536/1.737, allocations: 0.7164 MB / 1.253 GB, free: 308.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001044/1.737, allocations: 34.73 kB / 1.253 GB, free: 308.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/1.737, allocations: 1 kB / 1.253 GB, free: 308.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.446e-05/1.737, allocations: 20.41 kB / 1.253 GB, free: 308.3 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001699/1.737, allocations: 8.828 kB / 1.253 GB, free: 308.3 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006131/1.738, allocations: 304.1 kB / 1.253 GB, free: 308.1 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001561/1.738, allocations: 0.6859 MB / 1.254 GB, free: 307.4 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.862e-05/1.738, allocations: 9.141 kB / 1.254 GB, free: 307.4 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.386e-05/1.738, allocations: 14.23 kB / 1.254 GB, free: 307.4 MB / 0.8542 GB Notification: Performance of SimCode: time 8.92e-07/1.738, allocations: 0 / 1.254 GB, free: 307.4 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01813/1.756, allocations: 1.299 MB / 1.255 GB, free: 307.3 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001424/1.756, allocations: 144.8 kB / 1.255 GB, free: 307.1 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.448/3.204, allocations: 3.094 kB / 1.255 GB, free: 307.1 MB / 0.8542 GB (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Media_Examples_WaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_maint_7_0_x_Buildings_Media_Examples_WaterDerivativeCheck.fmu > Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1)