Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.conf.json 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/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Media.Examples.AirDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.AirDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 108.3 kB / 16.41 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001655/0.001655, allocations: 193.2 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.708/0.708, allocations: 115.3 MB / 406.5 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 61.02 kB / 0.5572 GB, free: 32.58 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.152, allocations: 76.18 MB / 0.6316 GB, free: 4.965 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirDerivativeCheck): time 0.002471/0.1545, allocations: 1.333 MB / 0.6329 GB, free: 3.625 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.5048/0.6594, allocations: 148.1 MB / 0.7775 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.477e-05/0.6595, allocations: 3.938 kB / 0.7775 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 4.295e-05/0.6595, allocations: 2.406 kB / 0.7775 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0001209/0.6597, allocations: 15 kB / 0.7775 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001306/0.661, allocations: 330.8 kB / 0.7778 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001742/0.6612, allocations: 69.44 kB / 0.7779 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.93e-05/0.6613, allocations: 5.453 kB / 0.7779 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 7.779e-05/0.6614, allocations: 26.34 kB / 0.7779 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001215/0.6615, allocations: 33.91 kB / 0.7779 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/0.6615, allocations: 3.734 kB / 0.7779 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009151/0.6624, allocations: 411.9 kB / 0.7783 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 5.81e-05/0.6625, allocations: 17.2 kB / 0.7783 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 5.069e-05/0.6626, allocations: 27.86 kB / 0.7784 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0004048/0.663, allocations: 161.3 kB / 0.7785 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.663, allocations: 0.9375 kB / 0.7785 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.272e-06/0.663, allocations: 0 / 0.7785 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.106e-05/0.663, allocations: 0 / 0.7785 GB, free: 14.02 MB / 0.5919 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.0004993/0.6635, allocations: 386.4 kB / 0.7789 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.6636, allocations: 16.23 kB / 0.7789 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.085e-05/0.6636, allocations: 34.61 kB / 0.7789 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004209/0.664, allocations: 38.56 kB / 0.779 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.6642, allocations: 172 kB / 0.7791 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.6642, allocations: 11.59 kB / 0.7792 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.478e-05/0.6642, allocations: 8.875 kB / 0.7792 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001703/0.6644, allocations: 75.55 kB / 0.7792 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.6644, allocations: 5.422 kB / 0.7792 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/0.6645, allocations: 4.469 kB / 0.7792 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.6645, allocations: 5.469 kB / 0.7792 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.345e-05/0.6646, allocations: 47.16 kB / 0.7793 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002178/0.6648, allocations: 190.2 kB / 0.7795 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001823/0.665, allocations: 89.16 kB / 0.7796 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.527e-05/0.665, allocations: 31.22 kB / 0.7796 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002534/0.6653, allocations: 181 kB / 0.7798 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.6653, allocations: 32.03 kB / 0.7798 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=12): time 1.202e-06/0.6654, allocations: 1.469 kB / 0.7798 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19): time 0.001295/0.6667, allocations: 0.5477 MB / 0.7803 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.67e-05/0.6667, allocations: 55.23 kB / 0.7804 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.534e-05/0.6668, allocations: 97.33 kB / 0.7805 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.6668, allocations: 33.77 kB / 0.7805 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 2.807e-05/0.6668, allocations: 81.58 kB / 0.7806 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.754e-05/0.6669, allocations: 73.39 kB / 0.7807 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.53e-05/0.667, allocations: 44.42 kB / 0.7807 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.949e-05/0.6671, allocations: 321.9 kB / 0.781 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.104e-05/0.6671, allocations: 36.09 kB / 0.781 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.757e-05/0.6672, allocations: 74.47 kB / 0.7811 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001522/0.6674, allocations: 113.5 kB / 0.7812 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.6674, allocations: 0 / 0.7812 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002325/0.6676, allocations: 167.5 kB / 0.7814 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.6677, allocations: 5.344 kB / 0.7814 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.6677, allocations: 1.406 kB / 0.7814 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.6677, allocations: 2 kB / 0.7814 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/0.6679, allocations: 36.09 kB / 0.7814 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.6679, allocations: 6.281 kB / 0.7814 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6e-05/0.668, allocations: 10.8 kB / 0.7814 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.668, allocations: 6.547 kB / 0.7814 GB, free: 11.84 MB / 0.5919 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.675e-05/0.6681, allocations: 124.8 kB / 0.7816 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.123e-05/0.6681, allocations: 9.562 kB / 0.7816 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.575e-05/0.6682, allocations: 14.38 kB / 0.7816 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.6682, allocations: 3.25 kB / 0.7816 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.176e-06/0.6682, allocations: 5.406 kB / 0.7816 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.6682, allocations: 3.938 kB / 0.7816 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001533/0.6683, allocations: 191.5 kB / 0.7818 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.6684, allocations: 0 / 0.7818 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001873/0.6685, allocations: 43.36 kB / 0.7818 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.6686, allocations: 1.031 kB / 0.7818 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.6686, allocations: 2.125 kB / 0.7818 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.6686, allocations: 4.969 kB / 0.7818 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.6686, allocations: 0.9375 kB / 0.7818 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002998/0.6689, allocations: 219.8 kB / 0.782 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.917e-05/0.669, allocations: 91.41 kB / 0.7821 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/0.669, allocations: 5.625 kB / 0.7821 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.6691, allocations: 9.109 kB / 0.7821 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.574e-05/0.6692, allocations: 13.83 kB / 0.7822 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.6692, allocations: 7.844 kB / 0.7822 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.277e-05/0.6692, allocations: 80.38 kB / 0.7822 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6692, allocations: 1.203 kB / 0.7822 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002247/0.6695, allocations: 29.03 kB / 0.7823 GB, free: 11.25 MB / 0.5919 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 () * Number of clocked 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 (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.0005706/0.67, allocations: 0.7506 MB / 0.783 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000206/0.6703, allocations: 108.3 kB / 0.7831 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.6703, allocations: 0 / 0.7831 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 7.097e-05/0.6703, allocations: 59.62 kB / 0.7832 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000255/0.6706, allocations: 19.11 kB / 0.7832 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001793/0.6724, allocations: 1.82 MB / 0.785 GB, free: 9.219 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002435/0.6727, allocations: 0.7026 MB / 0.7856 GB, free: 8.523 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001054/0.6728, allocations: 26.62 kB / 0.7857 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.555e-05/0.6728, allocations: 24.78 kB / 0.7857 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of SimCode: time 4.11e-07/0.6728, allocations: 0 / 0.7857 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0196/0.6925, allocations: 2.447 MB / 0.7881 GB, free: 8.047 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.196/7.888, allocations: 9.172 kB / 0.7881 GB, free: 8.039 MB / 0.5919 GB (rm -f IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck.fmu > IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.pipe 2>&1)