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.0009965/0.0009965, allocations: 104.5 kB / 15.98 MB, free: 6.344 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.001039/0.001039, allocations: 195.3 kB / 16.91 MB, free: 6.195 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.25/1.25, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7078/0.7078, allocations: 115.3 MB / 406.1 MB, free: 6.371 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 71.89 kB / 493.2 MB, free: 0.6094 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3124/0.3137, allocations: 76.16 MB / 0.556 GB, free: 36.32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirDerivativeCheck): time 0.002148/0.3159, allocations: 1.387 MB / 0.5574 GB, free: 35.37 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1407/0.4566, allocations: 145.9 MB / 0.6999 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.001e-05/0.4567, allocations: 0 / 0.6999 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.096e-05/0.4567, allocations: 3.984 kB / 0.6999 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001043/0.4569, allocations: 15.91 kB / 0.6999 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009962/0.4579, allocations: 304.3 kB / 0.7002 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.458, allocations: 67.77 kB / 0.7003 GB, free: 448 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.457e-05/0.458, allocations: 8 kB / 0.7003 GB, free: 440 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.598e-05/0.4581, allocations: 31.91 kB / 0.7003 GB, free: 408 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.599e-05/0.4582, allocations: 35.89 kB / 0.7003 GB, free: 372 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.268e-05/0.4582, allocations: 4 kB / 0.7003 GB, free: 368 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008293/0.459, allocations: 434.8 kB / 0.7007 GB, free: 15.93 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.245e-05/0.4591, allocations: 15.92 kB / 0.7008 GB, free: 15.92 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.203e-05/0.4592, allocations: 31.91 kB / 0.7008 GB, free: 15.89 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003904/0.4596, allocations: 177.7 kB / 0.701 GB, free: 15.71 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.4596, allocations: 0 / 0.701 GB, free: 15.71 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.793e-06/0.4596, allocations: 0 / 0.701 GB, free: 15.71 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.639e-06/0.4596, allocations: 0 / 0.701 GB, free: 15.71 MB / 0.545 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.0004543/0.46, allocations: 399.3 kB / 0.7013 GB, free: 15.28 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.4601, allocations: 12.03 kB / 0.7014 GB, free: 15.27 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.995e-05/0.4601, allocations: 34.75 kB / 0.7014 GB, free: 15.22 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004023/0.4606, allocations: 40.88 kB / 0.7014 GB, free: 15.18 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.4607, allocations: 168.1 kB / 0.7016 GB, free: 14.98 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.4607, allocations: 8 kB / 0.7016 GB, free: 14.97 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.375e-05/0.4607, allocations: 7.906 kB / 0.7016 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.4609, allocations: 85.58 kB / 0.7017 GB, free: 14.88 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.4609, allocations: 0 / 0.7017 GB, free: 14.88 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.461, allocations: 7.938 kB / 0.7017 GB, free: 14.87 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.461, allocations: 4 kB / 0.7017 GB, free: 14.86 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.61e-05/0.4611, allocations: 43.95 kB / 0.7017 GB, free: 14.82 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001814/0.4612, allocations: 185.5 kB / 0.7019 GB, free: 14.59 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001645/0.4614, allocations: 90.62 kB / 0.702 GB, free: 14.49 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.088e-05/0.4615, allocations: 35.36 kB / 0.702 GB, free: 14.46 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002162/0.4617, allocations: 178.2 kB / 0.7022 GB, free: 14.25 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.4617, allocations: 34.55 kB / 0.7022 GB, free: 14.2 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 1.183e-06/0.4617, allocations: 0 / 0.7022 GB, free: 14.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=19): time 0.001252/0.463, allocations: 0.545 MB / 0.7028 GB, free: 13.61 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.927e-05/0.463, allocations: 55.41 kB / 0.7028 GB, free: 13.54 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.688e-05/0.4631, allocations: 97.78 kB / 0.7029 GB, free: 13.43 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.4631, allocations: 33.7 kB / 0.7029 GB, free: 13.39 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.399e-05/0.4632, allocations: 80.52 kB / 0.703 GB, free: 13.31 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.007e-05/0.4632, allocations: 71.14 kB / 0.7031 GB, free: 13.24 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.218e-05/0.4633, allocations: 41.7 kB / 0.7031 GB, free: 13.2 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.615e-05/0.4634, allocations: 318.8 kB / 0.7034 GB, free: 12.88 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.051e-05/0.4634, allocations: 31.98 kB / 0.7035 GB, free: 12.84 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.207e-05/0.4635, allocations: 81.58 kB / 0.7035 GB, free: 12.75 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/0.4637, allocations: 123.3 kB / 0.7037 GB, free: 12.62 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.4637, allocations: 0 / 0.7037 GB, free: 12.62 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002024/0.4639, allocations: 145.6 kB / 0.7038 GB, free: 12.47 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.4639, allocations: 4 kB / 0.7038 GB, free: 12.47 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.4639, allocations: 80 / 0.7038 GB, free: 12.47 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.464, allocations: 4 kB / 0.7038 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001559/0.4641, allocations: 47.91 kB / 0.7039 GB, free: 12.42 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.4641, allocations: 7.922 kB / 0.7039 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.55e-05/0.4642, allocations: 8 kB / 0.7039 GB, free: 12.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.4642, allocations: 4 kB / 0.7039 GB, free: 12.4 MB / 0.545 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 8.792e-05/0.4643, allocations: 125.8 kB / 0.704 GB, free: 12.27 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.987e-05/0.4643, allocations: 7.906 kB / 0.704 GB, free: 12.26 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.384e-05/0.4644, allocations: 20.44 kB / 0.704 GB, free: 12.24 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.4644, allocations: 0 / 0.704 GB, free: 12.24 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.4644, allocations: 7.922 kB / 0.704 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.4644, allocations: 3.984 kB / 0.704 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001426/0.4645, allocations: 193.6 kB / 0.7042 GB, free: 11.99 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.4646, allocations: 128 / 0.7042 GB, free: 11.99 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001879/0.4648, allocations: 47.92 kB / 0.7043 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.4648, allocations: 0 / 0.7043 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.4648, allocations: 8 kB / 0.7043 GB, free: 11.94 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.4648, allocations: 0 / 0.7043 GB, free: 11.94 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.4648, allocations: 3.938 kB / 0.7043 GB, free: 11.93 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002736/0.4651, allocations: 214.5 kB / 0.7045 GB, free: 11.71 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.409e-05/0.4651, allocations: 89.09 kB / 0.7046 GB, free: 11.6 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/0.4652, allocations: 4.062 kB / 0.7046 GB, free: 11.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/0.4653, allocations: 8 kB / 0.7046 GB, free: 11.59 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.871e-05/0.4653, allocations: 15.92 kB / 0.7046 GB, free: 11.57 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.4654, allocations: 4 kB / 0.7046 GB, free: 11.57 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.343e-05/0.4654, allocations: 87.22 kB / 0.7047 GB, free: 11.48 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4654, allocations: 0 / 0.7047 GB, free: 11.48 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002175/0.4656, allocations: 27.98 kB / 0.7047 GB, free: 11.46 MB / 0.545 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.0005175/0.4661, allocations: 0.7516 MB / 0.7054 GB, free: 10.68 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000216/0.4664, allocations: 108 kB / 0.7055 GB, free: 10.57 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.4664, allocations: 4 kB / 0.7055 GB, free: 10.57 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.634e-05/0.4665, allocations: 55.86 kB / 0.7056 GB, free: 10.51 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.4667, allocations: 19.92 kB / 0.7056 GB, free: 10.49 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001719/0.4685, allocations: 1.845 MB / 0.7074 GB, free: 8.551 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00022/0.4687, allocations: 0.7008 MB / 0.7081 GB, free: 7.824 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001268/0.4688, allocations: 16.64 kB / 0.7081 GB, free: 7.805 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.559e-05/0.4689, allocations: 27.42 kB / 0.7081 GB, free: 7.777 MB / 0.545 GB Notification: Performance of SimCode: time 2.5e-07/0.4689, allocations: 0 / 0.7081 GB, free: 7.777 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05426/0.5232, allocations: 2.291 MB / 0.7104 GB, free: 5.609 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002974/0.5235, allocations: 199.1 kB / 0.7106 GB, free: 5.344 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.763/2.287, allocations: 3.938 kB / 0.7106 GB, free: 5.34 MB / 0.545 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)