Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_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.002386/0.002387, allocations: 109.4 kB / 15.69 MB, free: 128 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.002001/0.002001, allocations: 188.1 kB / 16.62 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.441/1.441, allocations: 205.1 MB / 222.5 MB, free: 4.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.821/1.821, allocations: 292.3 MB / 0.549 GB, free: 12.73 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 65.47 kB / 0.6717 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2346/0.236, allocations: 114.6 MB / 0.7836 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002905/0.239, allocations: 1.332 MB / 0.7849 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5826/0.8216, allocations: 148.1 MB / 0.9295 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.576e-05/0.8217, allocations: 0 / 0.9295 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.763e-05/0.8217, allocations: 7.969 kB / 0.9295 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001002/0.8219, allocations: 18.39 kB / 0.9296 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009492/0.8228, allocations: 324.7 kB / 0.9299 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001025/0.8229, allocations: 65.86 kB / 0.9299 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.932e-05/0.823, allocations: 9.953 kB / 0.9299 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.067e-05/0.823, allocations: 26.91 kB / 0.93 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.19e-05/0.8231, allocations: 39.92 kB / 0.93 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/0.8231, allocations: 2.625 kB / 0.93 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008617/0.824, allocations: 406.3 kB / 0.9304 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.381e-05/0.8241, allocations: 17.09 kB / 0.9304 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.695e-05/0.8242, allocations: 27.22 kB / 0.9304 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003387/0.8245, allocations: 160.8 kB / 0.9306 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.8245, allocations: 0 / 0.9306 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.124e-06/0.8245, allocations: 0 / 0.9306 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.261e-05/0.8245, allocations: 4 kB / 0.9306 GB, free: 2.969 MB / 0.7169 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.0005861/0.8251, allocations: 389.3 kB / 0.931 GB, free: 18.6 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.8252, allocations: 11.38 kB / 0.931 GB, free: 18.6 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.471e-05/0.8252, allocations: 39.14 kB / 0.931 GB, free: 18.56 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003886/0.8256, allocations: 34.88 kB / 0.931 GB, free: 18.56 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/0.8257, allocations: 167.9 kB / 0.9312 GB, free: 18.36 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.8257, allocations: 6.5 kB / 0.9312 GB, free: 18.36 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.578e-05/0.8258, allocations: 18.48 kB / 0.9312 GB, free: 18.35 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.8259, allocations: 75.7 kB / 0.9313 GB, free: 18.32 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.8259, allocations: 0 / 0.9313 GB, free: 18.32 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.826, allocations: 6.812 kB / 0.9313 GB, free: 18.32 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.826, allocations: 0.7031 kB / 0.9313 GB, free: 18.32 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.613e-05/0.8261, allocations: 47.11 kB / 0.9313 GB, free: 18.32 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001793/0.8263, allocations: 186.6 kB / 0.9315 GB, free: 18.12 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00016/0.8264, allocations: 94.73 kB / 0.9316 GB, free: 18.09 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.592e-05/0.8265, allocations: 32.23 kB / 0.9316 GB, free: 18.08 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002194/0.8267, allocations: 180.5 kB / 0.9318 GB, free: 17.89 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.8267, allocations: 30.56 kB / 0.9318 GB, free: 17.86 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=12): time 1.873e-06/0.8268, allocations: 5.188 kB / 0.9319 GB, free: 17.85 MB / 0.7325 GB Notification: Performance of matching and sorting (n=19): time 0.001239/0.828, allocations: 0.5557 MB / 0.9324 GB, free: 17.57 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.434e-05/0.8281, allocations: 53.11 kB / 0.9324 GB, free: 17.51 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.26e-05/0.8281, allocations: 101.3 kB / 0.9325 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.8281, allocations: 35.67 kB / 0.9326 GB, free: 17.37 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.589e-05/0.8282, allocations: 84.52 kB / 0.9327 GB, free: 17.29 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.452e-05/0.8282, allocations: 67.88 kB / 0.9327 GB, free: 17.24 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-05/0.8283, allocations: 46.41 kB / 0.9328 GB, free: 17.22 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.8284, allocations: 318.6 kB / 0.9331 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.809e-05/0.8285, allocations: 33.66 kB / 0.9331 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.767e-05/0.8285, allocations: 71.97 kB / 0.9332 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000123/0.8287, allocations: 119.5 kB / 0.9333 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.8287, allocations: 0 / 0.9333 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001958/0.8289, allocations: 150.9 kB / 0.9334 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.8289, allocations: 6.672 kB / 0.9334 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.8289, allocations: 2.562 kB / 0.9334 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.8289, allocations: 0 / 0.9334 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/0.8291, allocations: 38.91 kB / 0.9335 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.924e-06/0.8291, allocations: 3.328 kB / 0.9335 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.251e-05/0.8292, allocations: 10.89 kB / 0.9335 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.8292, allocations: 12.84 kB / 0.9335 GB, free: 16.79 MB / 0.7325 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.312e-05/0.8293, allocations: 123.5 kB / 0.9336 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2e-05/0.8293, allocations: 7.203 kB / 0.9336 GB, free: 16.67 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.363e-05/0.8293, allocations: 17.09 kB / 0.9336 GB, free: 16.66 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.8293, allocations: 3.906 kB / 0.9336 GB, free: 16.66 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.8293, allocations: 0 / 0.9336 GB, free: 16.66 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.8294, allocations: 4.688 kB / 0.9337 GB, free: 16.66 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001495/0.8295, allocations: 190.1 kB / 0.9338 GB, free: 16.47 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.8295, allocations: 3.438 kB / 0.9338 GB, free: 16.47 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001837/0.8297, allocations: 44.83 kB / 0.9339 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.8297, allocations: 3.781 kB / 0.9339 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.8297, allocations: 4.281 kB / 0.9339 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.8297, allocations: 2.656 kB / 0.9339 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.614e-06/0.8297, allocations: 0.7031 kB / 0.9339 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002777/0.83, allocations: 223.2 kB / 0.9341 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.458e-05/0.8301, allocations: 86.48 kB / 0.9342 GB, free: 16.28 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.076e-05/0.8301, allocations: 6.766 kB / 0.9342 GB, free: 16.28 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.8303, allocations: 11.42 kB / 0.9342 GB, free: 16.28 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.147e-05/0.8303, allocations: 13.31 kB / 0.9342 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.8303, allocations: 11.14 kB / 0.9342 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.905e-05/0.8303, allocations: 83.75 kB / 0.9343 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8304, allocations: 0 / 0.9343 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002145/0.8306, allocations: 28.31 kB / 0.9343 GB, free: 16.2 MB / 0.7325 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.0004996/0.8311, allocations: 0.7497 MB / 0.9351 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001781/0.8313, allocations: 107.2 kB / 0.9352 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.8313, allocations: 0 / 0.9352 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 6.766e-05/0.8314, allocations: 54.03 kB / 0.9352 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003001/0.8317, allocations: 19.64 kB / 0.9352 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001612/0.8333, allocations: 1.823 MB / 0.937 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002741/0.8336, allocations: 0.7036 MB / 0.9377 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001041/0.8337, allocations: 24.86 kB / 0.9377 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.759e-05/0.8337, allocations: 21 kB / 0.9377 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of SimCode: time 6.31e-07/0.8337, allocations: 0 / 0.9377 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01948/0.8532, allocations: 2.397 MB / 0.9401 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.6/8.453, allocations: 4.75 kB / 0.9401 GB, free: 13.02 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Media_Examples_AirDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Media_Examples_AirDerivativeCheck.fmu > Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1)