Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Media.Examples.AirDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.AirDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8615/0.8615, allocations: 141.8 MB / 149.3 MB, free: 9.215 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001923/0.001923, allocations: 183.8 kB / 182.2 MB, free: 9.461 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.597/1.597, allocations: 221.5 MB / 436.4 MB, free: 13.3 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009841/0.0009841, allocations: 88 kB / 0.5074 GB, free: 10.13 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001714/0.001714, allocations: 279.3 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.478e-05/2.48e-05, allocations: 4 kB / 0.6766 GB, free: 12.74 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6146/0.6147, allocations: 82.77 MB / 0.7574 GB, free: 31.93 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.458/5.073, allocations: 1.704 GB / 2.461 GB, free: 47.96 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002886/5.073, allocations: 78.52 kB / 2.462 GB, free: 47.92 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.05726/5.13, allocations: 29.17 MB / 2.49 GB, free: 23.26 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.834e-06/5.13, allocations: 4 kB / 2.49 GB, free: 23.25 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.211e-06/5.13, allocations: 4 kB / 2.49 GB, free: 23.25 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003771/5.131, allocations: 375.4 kB / 2.49 GB, free: 22.84 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/5.131, allocations: 12.03 kB / 2.49 GB, free: 22.83 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003604/5.131, allocations: 35.86 kB / 2.49 GB, free: 22.79 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/5.131, allocations: 167 kB / 2.491 GB, free: 22.59 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/5.131, allocations: 8 kB / 2.491 GB, free: 22.58 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.123e-05/5.131, allocations: 8 kB / 2.491 GB, free: 22.57 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001106/5.131, allocations: 43.91 kB / 2.491 GB, free: 22.53 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/5.131, allocations: 65.61 kB / 2.491 GB, free: 22.46 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/5.131, allocations: 0 / 2.491 GB, free: 22.46 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/5.131, allocations: 0 / 2.491 GB, free: 22.46 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.403e-06/5.132, allocations: 4 kB / 2.491 GB, free: 22.46 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001529/5.132, allocations: 162.1 kB / 2.491 GB, free: 22.26 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001279/5.132, allocations: 74.72 kB / 2.491 GB, free: 22.18 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.819e-05/5.132, allocations: 28.8 kB / 2.491 GB, free: 22.15 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001989/5.132, allocations: 178.2 kB / 2.491 GB, free: 21.94 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/5.132, allocations: 34.56 kB / 2.491 GB, free: 21.89 MB / 0.698 GB Notification: Performance of pre-optimization done (n=12): time 1.273e-06/5.132, allocations: 0 / 2.491 GB, free: 21.89 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.001169/5.133, allocations: 486.8 kB / 2.492 GB, free: 21.37 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.558e-05/5.133, allocations: 51.41 kB / 2.492 GB, free: 21.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.354e-05/5.133, allocations: 92.98 kB / 2.492 GB, free: 21.21 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/5.133, allocations: 25.7 kB / 2.492 GB, free: 21.18 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.097e-05/5.133, allocations: 80.64 kB / 2.492 GB, free: 21.09 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.619e-05/5.133, allocations: 71.02 kB / 2.492 GB, free: 21.02 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.312e-06/5.133, allocations: 0 / 2.492 GB, free: 21.02 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.376e-05/5.134, allocations: 318.8 kB / 2.492 GB, free: 20.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.273e-05/5.134, allocations: 28 kB / 2.492 GB, free: 20.67 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.928e-05/5.134, allocations: 65.59 kB / 2.492 GB, free: 20.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.943e-05/5.134, allocations: 51.91 kB / 2.492 GB, free: 20.55 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/5.134, allocations: 0 / 2.492 GB, free: 20.55 MB / 0.698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001584/5.134, allocations: 137.5 kB / 2.493 GB, free: 20.41 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/5.134, allocations: 4 kB / 2.493 GB, free: 20.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/5.134, allocations: 4 kB / 2.493 GB, free: 20.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/5.134, allocations: 0 / 2.493 GB, free: 20.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001627/5.134, allocations: 39.92 kB / 2.493 GB, free: 20.36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.79e-06/5.134, allocations: 0 / 2.493 GB, free: 20.36 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.349e-05/5.134, allocations: 4 kB / 2.493 GB, free: 20.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/5.134, allocations: 8 kB / 2.493 GB, free: 20.35 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * 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 6.741e-05/5.134, allocations: 112.8 kB / 2.493 GB, free: 20.23 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001407/5.134, allocations: 114.6 kB / 2.493 GB, free: 20.11 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.559e-05/5.134, allocations: 15.84 kB / 2.493 GB, free: 20.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.119e-05/5.134, allocations: 16.52 kB / 2.493 GB, free: 20.09 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/5.134, allocations: 3.984 kB / 2.493 GB, free: 20.08 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/5.135, allocations: 0 / 2.493 GB, free: 20.08 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/5.135, allocations: 7.938 kB / 2.493 GB, free: 20.07 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/5.135, allocations: 158.3 kB / 2.493 GB, free: 19.88 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/5.135, allocations: 3.984 kB / 2.493 GB, free: 19.88 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001859/5.135, allocations: 47.88 kB / 2.493 GB, free: 19.83 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/5.135, allocations: 0 / 2.493 GB, free: 19.83 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/5.135, allocations: 8 kB / 2.493 GB, free: 19.82 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/5.135, allocations: 0 / 2.493 GB, free: 19.82 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/5.135, allocations: 0 / 2.493 GB, free: 19.82 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002348/5.135, allocations: 182.8 kB / 2.493 GB, free: 19.63 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.7e-05/5.135, allocations: 93 kB / 2.493 GB, free: 19.52 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/5.135, allocations: 3.953 kB / 2.493 GB, free: 19.52 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/5.135, allocations: 4 kB / 2.493 GB, free: 19.51 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.66e-05/5.135, allocations: 12.05 kB / 2.493 GB, free: 19.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/5.135, allocations: 8 kB / 2.493 GB, free: 19.49 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.513e-05/5.135, allocations: 79.28 kB / 2.493 GB, free: 19.41 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.41e-07/5.135, allocations: 0 / 2.493 GB, free: 19.41 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002898/5.136, allocations: 47.98 kB / 2.493 GB, free: 19.37 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.0009709/5.137, allocations: 1.259 MB / 2.495 GB, free: 18.09 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001633/5.137, allocations: 96.75 kB / 2.495 GB, free: 17.99 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/5.137, allocations: 0 / 2.495 GB, free: 17.99 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.543e-05/5.137, allocations: 47.94 kB / 2.495 GB, free: 17.95 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001748/5.137, allocations: 13.5 kB / 2.495 GB, free: 17.93 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007597/5.138, allocations: 0.4914 MB / 2.495 GB, free: 17.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001561/5.138, allocations: 0.7086 MB / 2.496 GB, free: 16.66 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001295/5.138, allocations: 20.77 kB / 2.496 GB, free: 16.64 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.863e-05/5.138, allocations: 32.06 kB / 2.496 GB, free: 16.61 MB / 0.698 GB Notification: Performance of SimCode: time 2.61e-07/5.138, allocations: 0 / 2.496 GB, free: 16.61 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09501/5.233, allocations: 6.18 MB / 2.502 GB, free: 10.43 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002109/5.234, allocations: 136.1 kB / 2.502 GB, free: 10.25 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.764/7.998, allocations: 4 kB / 2.502 GB, free: 10.24 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_AirDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Media_Examples_AirDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe 2>&1)