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.0008093/0.0008092, allocations: 92.95 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009444/0.0009446, allocations: 182.2 kB / 16.92 MB, free: 6.934 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.368/1.368, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6881/0.6881, allocations: 115.5 MB / 407.6 MB, free: 2.734 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003282/0.0003282, allocations: 12.28 kB / 495.9 MB, free: 6.305 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1263, allocations: 77.54 MB / 0.56 GB, free: 8.973 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirDerivativeCheck): time 0.00124/0.1275, allocations: 1.051 MB / 0.5611 GB, free: 7.91 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.3874/0.5149, allocations: 144.2 MB / 0.7019 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.167e-05/0.515, allocations: 0 / 0.7019 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.92e-05/0.5151, allocations: 7.984 kB / 0.7019 GB, free: 5.543 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 9.79e-05/0.5152, allocations: 15.91 kB / 0.7019 GB, free: 5.527 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000933/0.5161, allocations: 291.5 kB / 0.7022 GB, free: 5.246 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001105/0.5162, allocations: 83.8 kB / 0.7023 GB, free: 5.164 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.624e-05/0.5163, allocations: 4 kB / 0.7023 GB, free: 5.16 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.688e-05/0.5163, allocations: 35.84 kB / 0.7023 GB, free: 5.125 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 9.673e-05/0.5164, allocations: 31.89 kB / 0.7024 GB, free: 5.094 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.227e-05/0.5164, allocations: 4.938 kB / 0.7024 GB, free: 5.09 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000875/0.5173, allocations: 0.4909 MB / 0.7029 GB, free: 4.598 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.433e-05/0.5174, allocations: 19.92 kB / 0.7029 GB, free: 4.578 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 5.358e-05/0.5175, allocations: 49.62 kB / 0.7029 GB, free: 4.523 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003536/0.5178, allocations: 189.7 kB / 0.7031 GB, free: 4.34 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.5178, allocations: 4 kB / 0.7031 GB, free: 4.336 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.222e-06/0.5178, allocations: 0 / 0.7031 GB, free: 4.336 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.567e-06/0.5178, allocations: 0 / 0.7031 GB, free: 4.336 MB / 0.5137 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.0004121/0.5183, allocations: 376.2 kB / 0.7035 GB, free: 3.922 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.5183, allocations: 8.031 kB / 0.7035 GB, free: 3.914 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.067e-05/0.5183, allocations: 42.69 kB / 0.7035 GB, free: 3.863 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003975/0.5187, allocations: 32.89 kB / 0.7035 GB, free: 3.832 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.763e-05/0.5189, allocations: 160.4 kB / 0.7037 GB, free: 3.637 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.5189, allocations: 15.94 kB / 0.7037 GB, free: 3.621 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.772e-05/0.5189, allocations: 11.91 kB / 0.7037 GB, free: 3.609 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001622/0.5191, allocations: 89.52 kB / 0.7038 GB, free: 3.516 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.5191, allocations: 3.984 kB / 0.7038 GB, free: 3.512 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.5191, allocations: 1.438 kB / 0.7038 GB, free: 3.512 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.5191, allocations: 0 / 0.7038 GB, free: 3.512 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.451e-05/0.5192, allocations: 47.95 kB / 0.7039 GB, free: 3.465 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001916/0.5194, allocations: 185.5 kB / 0.704 GB, free: 3.234 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000167/0.5196, allocations: 94.62 kB / 0.7041 GB, free: 3.133 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.201e-05/0.5197, allocations: 32.84 kB / 0.7042 GB, free: 3.098 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002173/0.5199, allocations: 170.2 kB / 0.7043 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/0.5199, allocations: 42.56 kB / 0.7044 GB, free: 2.844 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=12): time 1.153e-06/0.5199, allocations: 0 / 0.7044 GB, free: 2.844 MB / 0.5137 GB Notification: Performance of matching and sorting (n=19): time 0.001242/0.5212, allocations: 0.5465 MB / 0.7049 GB, free: 2.25 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.159e-05/0.5212, allocations: 55.34 kB / 0.7049 GB, free: 2.184 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.2e-05/0.5213, allocations: 105.8 kB / 0.7051 GB, free: 2.07 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.5213, allocations: 25.7 kB / 0.7051 GB, free: 2.039 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 2.953e-05/0.5213, allocations: 92.5 kB / 0.7052 GB, free: 1.945 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.498e-05/0.5214, allocations: 63.02 kB / 0.7052 GB, free: 1.883 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.799e-05/0.5215, allocations: 25.7 kB / 0.7052 GB, free: 1.852 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.5216, allocations: 318.8 kB / 0.7056 GB, free: 1.531 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.353e-05/0.5216, allocations: 39.91 kB / 0.7056 GB, free: 1.492 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.388e-05/0.5217, allocations: 73.16 kB / 0.7057 GB, free: 1.41 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001588/0.5219, allocations: 117.8 kB / 0.7058 GB, free: 1.285 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.5219, allocations: 0 / 0.7058 GB, free: 1.285 MB / 0.5137 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002286/0.5221, allocations: 157.5 kB / 0.7059 GB, free: 1.125 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.5221, allocations: 4 kB / 0.7059 GB, free: 1.121 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.5222, allocations: 0 / 0.7059 GB, free: 1.121 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.5222, allocations: 4 kB / 0.7059 GB, free: 1.117 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001665/0.5223, allocations: 36.73 kB / 0.706 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.5224, allocations: 4 kB / 0.706 GB, free: 1.078 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.785e-05/0.5224, allocations: 11.94 kB / 0.706 GB, free: 1.066 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.5224, allocations: 12 kB / 0.706 GB, free: 1.055 MB / 0.5137 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.382e-05/0.5225, allocations: 121.8 kB / 0.7061 GB, free: 0.9258 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.401e-05/0.5226, allocations: 7.906 kB / 0.7061 GB, free: 0.918 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.115e-05/0.5226, allocations: 16.44 kB / 0.7061 GB, free: 0.9062 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.5226, allocations: 4 kB / 0.7061 GB, free: 0.9023 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.5226, allocations: 0 / 0.7061 GB, free: 0.9023 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.5226, allocations: 4.812 kB / 0.7061 GB, free: 0.8984 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001496/0.5228, allocations: 201.5 kB / 0.7063 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.5228, allocations: 4 kB / 0.7063 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001907/0.523, allocations: 43.91 kB / 0.7064 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.523, allocations: 0 / 0.7064 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.523, allocations: 4 kB / 0.7064 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.523, allocations: 8.125 kB / 0.7064 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.5231, allocations: 0 / 0.7064 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002797/0.5233, allocations: 206.8 kB / 0.7066 GB, free: 384 kB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.363e-05/0.5234, allocations: 89 kB / 0.7067 GB, free: 276 kB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/0.5234, allocations: 11.98 kB / 0.7067 GB, free: 264 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.5236, allocations: 8.062 kB / 0.7067 GB, free: 256 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.545e-05/0.5236, allocations: 11.92 kB / 0.7067 GB, free: 244 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.5236, allocations: 8 kB / 0.7067 GB, free: 236 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 2.906e-05/0.5236, allocations: 75.28 kB / 0.7068 GB, free: 160 kB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5237, allocations: 4 kB / 0.7068 GB, free: 156 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002184/0.5239, allocations: 28 kB / 0.7068 GB, free: 128 kB / 0.5137 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.0005234/0.5244, allocations: 0.7412 MB / 0.7075 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001856/0.5246, allocations: 105.6 kB / 0.7076 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.5246, allocations: 3.938 kB / 0.7076 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 6.985e-05/0.5247, allocations: 59.91 kB / 0.7077 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002276/0.5249, allocations: 19.94 kB / 0.7077 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001858/0.5268, allocations: 1.925 MB / 0.7096 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002479/0.5271, allocations: 0.6972 MB / 0.7103 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001311/0.5272, allocations: 20.62 kB / 0.7103 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.736e-05/0.5273, allocations: 31.42 kB / 0.7103 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of SimCode: time 3.51e-07/0.5273, allocations: 0 / 0.7103 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.101/1.628, allocations: 2.165 MB / 0.7124 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002007/1.628, allocations: 177.8 kB / 0.7126 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.044/3.672, allocations: 3.938 kB / 0.7126 GB, free: 10.08 MB / 0.5294 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)