Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7605/0.7605, allocations: 127.3 MB / 139.8 MB, free: 15.48 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001664/0.001664, allocations: 172.8 kB / 169.7 MB, free: 1.75 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.86/1.86, allocations: 205.1 MB / 404.5 MB, free: 1.676 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001069/0.001069, allocations: 86.17 kB / 481.8 MB, free: 4.324 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.379e-05/3.379e-05, allocations: 0 / 0.5533 GB, free: 54.77 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.173, allocations: 76.76 MB / 0.6282 GB, free: 9.961 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.377/5.55, allocations: 2.165 GB / 2.793 GB, free: 163.8 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002815/5.55, allocations: 75.77 kB / 2.793 GB, free: 163.8 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.05699/5.607, allocations: 30.19 MB / 2.823 GB, free: 133.3 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.462e-06/5.607, allocations: 0 / 2.823 GB, free: 133.3 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.063e-06/5.607, allocations: 0 / 2.823 GB, free: 133.3 MB / 0.6511 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.0003869/5.608, allocations: 382.3 kB / 2.823 GB, free: 132.9 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/5.608, allocations: 15.97 kB / 2.823 GB, free: 132.9 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.91e-05/5.608, allocations: 34.56 kB / 2.823 GB, free: 132.8 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003575/5.608, allocations: 40.64 kB / 2.823 GB, free: 132.8 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.943e-05/5.608, allocations: 163 kB / 2.823 GB, free: 132.6 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/5.608, allocations: 8 kB / 2.823 GB, free: 132.6 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.837e-05/5.608, allocations: 8 kB / 2.823 GB, free: 132.6 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/5.608, allocations: 79.03 kB / 2.823 GB, free: 132.5 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/5.608, allocations: 0 / 2.823 GB, free: 132.5 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/5.608, allocations: 7.984 kB / 2.823 GB, free: 132.5 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/5.608, allocations: 0 / 2.823 GB, free: 132.5 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.828e-05/5.608, allocations: 39.98 kB / 2.823 GB, free: 132.4 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001892/5.609, allocations: 193.4 kB / 2.823 GB, free: 132.2 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001468/5.609, allocations: 74.62 kB / 2.824 GB, free: 132.1 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.836e-05/5.609, allocations: 33.27 kB / 2.824 GB, free: 132.1 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002298/5.609, allocations: 182.2 kB / 2.824 GB, free: 131.9 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/5.609, allocations: 34.5 kB / 2.824 GB, free: 131.8 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=12): time 1.383e-06/5.609, allocations: 4 kB / 2.824 GB, free: 131.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=19): time 0.001136/5.61, allocations: 0.5153 MB / 2.824 GB, free: 131.3 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.834e-05/5.61, allocations: 55.41 kB / 2.824 GB, free: 131.2 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.65e-05/5.61, allocations: 88.94 kB / 2.824 GB, free: 131.1 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/5.61, allocations: 33.7 kB / 2.824 GB, free: 131.1 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 1.965e-05/5.61, allocations: 84.52 kB / 2.825 GB, free: 131 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.368e-05/5.611, allocations: 67 kB / 2.825 GB, free: 130.9 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.033e-06/5.611, allocations: 7.938 kB / 2.825 GB, free: 130.9 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.037e-05/5.611, allocations: 323 kB / 2.825 GB, free: 130.6 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.516e-05/5.611, allocations: 31.98 kB / 2.825 GB, free: 130.5 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.473e-05/5.611, allocations: 63.42 kB / 2.825 GB, free: 130.5 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.71e-05/5.611, allocations: 47.91 kB / 2.825 GB, free: 130.4 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/5.611, allocations: 4 kB / 2.825 GB, free: 130.4 MB / 0.6511 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001775/5.611, allocations: 149.5 kB / 2.825 GB, free: 130.3 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/5.611, allocations: 4 kB / 2.825 GB, free: 130.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/5.611, allocations: 4 kB / 2.825 GB, free: 130.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/5.611, allocations: 7.953 kB / 2.825 GB, free: 130.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/5.611, allocations: 39.92 kB / 2.825 GB, free: 130.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/5.611, allocations: 0 / 2.825 GB, free: 130.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.284e-05/5.611, allocations: 8 kB / 2.825 GB, free: 130.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/5.611, allocations: 4 kB / 2.825 GB, free: 130.2 MB / 0.6511 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 7.393e-05/5.611, allocations: 116.9 kB / 2.825 GB, free: 130.1 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.831e-05/5.611, allocations: 7.906 kB / 2.825 GB, free: 130.1 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.939e-05/5.612, allocations: 20.2 kB / 2.825 GB, free: 130.1 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/5.612, allocations: 11.95 kB / 2.825 GB, free: 130 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/5.612, allocations: 0 / 2.825 GB, free: 130 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/5.612, allocations: 0 / 2.825 GB, free: 130 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001334/5.612, allocations: 193.6 kB / 2.826 GB, free: 129.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/5.612, allocations: 0 / 2.826 GB, free: 129.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00018/5.612, allocations: 35.98 kB / 2.826 GB, free: 129.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/5.612, allocations: 0 / 2.826 GB, free: 129.8 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/5.612, allocations: 4 kB / 2.826 GB, free: 129.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/5.612, allocations: 4 kB / 2.826 GB, free: 129.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/5.612, allocations: 3.953 kB / 2.826 GB, free: 129.8 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002616/5.612, allocations: 212.9 kB / 2.826 GB, free: 129.5 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.201e-05/5.612, allocations: 89 kB / 2.826 GB, free: 129.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.808e-05/5.612, allocations: 4.062 kB / 2.826 GB, free: 129.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/5.612, allocations: 11.98 kB / 2.826 GB, free: 129.4 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.485e-05/5.612, allocations: 15.94 kB / 2.826 GB, free: 129.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/5.612, allocations: 7.938 kB / 2.826 GB, free: 129.4 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 2.12e-05/5.612, allocations: 79.28 kB / 2.826 GB, free: 129.3 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.51e-07/5.612, allocations: 4.094 kB / 2.826 GB, free: 129.3 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003202/5.613, allocations: 63.98 kB / 2.826 GB, free: 129.2 MB / 0.6511 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.0009259/5.614, allocations: 1.192 MB / 2.827 GB, free: 128 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001681/5.614, allocations: 99.88 kB / 2.827 GB, free: 127.9 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/5.614, allocations: 4 kB / 2.827 GB, free: 127.9 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.694e-05/5.614, allocations: 51.92 kB / 2.827 GB, free: 127.9 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001667/5.614, allocations: 15.94 kB / 2.827 GB, free: 127.9 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007732/5.615, allocations: 0.5192 MB / 2.828 GB, free: 127.3 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001791/5.615, allocations: 0.7011 MB / 2.829 GB, free: 126.6 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001278/5.615, allocations: 24.75 kB / 2.829 GB, free: 126.6 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.27e-05/5.615, allocations: 23.44 kB / 2.829 GB, free: 126.5 MB / 0.6511 GB Notification: Performance of SimCode: time 7.51e-07/5.615, allocations: 4 kB / 2.829 GB, free: 126.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02392/5.639, allocations: 12.86 MB / 2.841 GB, free: 113.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001524/5.639, allocations: 156.8 kB / 2.841 GB, free: 113.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.983/7.623, allocations: 0 / 2.841 GB, free: 113.5 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe 2>&1)