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.001175/0.001175, allocations: 108 kB / 15.6 MB, free: 132 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.001126/0.001126, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.233/1.233, allocations: 205.1 MB / 222.4 MB, free: 4.578 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.522/1.522, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.001269/0.001269, allocations: 70.95 kB / 0.6716 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1612, allocations: 114.6 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.001892/0.1631, allocations: 1.334 MB / 0.7848 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.4361/0.5992, allocations: 148.1 MB / 0.9294 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.037e-05/0.5993, allocations: 0 / 0.9294 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.516e-05/0.5994, allocations: 5.953 kB / 0.9294 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.487e-05/0.5995, allocations: 15.38 kB / 0.9294 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000899/0.6004, allocations: 328.5 kB / 0.9297 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.275e-05/0.6005, allocations: 62.33 kB / 0.9298 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.623e-05/0.6005, allocations: 3.281 kB / 0.9298 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.42e-05/0.6006, allocations: 30.02 kB / 0.9298 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.546e-05/0.6006, allocations: 35 kB / 0.9298 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.185e-05/0.6007, allocations: 5.25 kB / 0.9298 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006673/0.6013, allocations: 407.2 kB / 0.9302 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.511e-05/0.6014, allocations: 18.75 kB / 0.9303 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.637e-05/0.6014, allocations: 30.53 kB / 0.9303 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000258/0.6017, allocations: 158.3 kB / 0.9304 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.6017, allocations: 1.094 kB / 0.9304 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.192e-06/0.6017, allocations: 1.531 kB / 0.9304 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.6017, allocations: 0 / 0.9304 GB, free: 2.934 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.0004501/0.6022, allocations: 394.3 kB / 0.9308 GB, free: 18.56 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.039e-05/0.6022, allocations: 8.656 kB / 0.9308 GB, free: 18.56 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.366e-05/0.6022, allocations: 39.19 kB / 0.9309 GB, free: 18.52 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003491/0.6026, allocations: 36.31 kB / 0.9309 GB, free: 18.52 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.709e-05/0.6027, allocations: 166.1 kB / 0.931 GB, free: 18.32 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.6027, allocations: 10.53 kB / 0.9311 GB, free: 18.32 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.376e-05/0.6027, allocations: 17.47 kB / 0.9311 GB, free: 18.31 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.6029, allocations: 77.25 kB / 0.9311 GB, free: 18.28 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.6029, allocations: 0 / 0.9311 GB, free: 18.28 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.6029, allocations: 2.656 kB / 0.9312 GB, free: 18.28 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.187e-06/0.6029, allocations: 2.75 kB / 0.9312 GB, free: 18.28 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.622e-05/0.603, allocations: 43.59 kB / 0.9312 GB, free: 18.28 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000142/0.6032, allocations: 190.9 kB / 0.9314 GB, free: 18.08 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000137/0.6033, allocations: 90.61 kB / 0.9315 GB, free: 18.05 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.271e-05/0.6034, allocations: 35.94 kB / 0.9315 GB, free: 18.04 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000186/0.6035, allocations: 173.7 kB / 0.9317 GB, free: 17.86 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.6036, allocations: 40.78 kB / 0.9317 GB, free: 17.81 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=12): time 1.202e-06/0.6036, allocations: 0 / 0.9317 GB, free: 17.81 MB / 0.7325 GB Notification: Performance of matching and sorting (n=19): time 0.001053/0.6046, allocations: 0.54 MB / 0.9322 GB, free: 17.54 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.165e-05/0.6047, allocations: 58.83 kB / 0.9323 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.344e-05/0.6047, allocations: 106.3 kB / 0.9324 GB, free: 17.37 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.6048, allocations: 31.73 kB / 0.9324 GB, free: 17.34 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.356e-05/0.6048, allocations: 87.64 kB / 0.9325 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.852e-05/0.6048, allocations: 67.97 kB / 0.9326 GB, free: 17.21 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.26e-05/0.6049, allocations: 44.06 kB / 0.9326 GB, free: 17.19 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 7.696e-05/0.605, allocations: 316.9 kB / 0.9329 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.243e-05/0.605, allocations: 37.41 kB / 0.9329 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.427e-05/0.6051, allocations: 73.83 kB / 0.933 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001132/0.6052, allocations: 117.2 kB / 0.9331 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.6052, allocations: 1.203 kB / 0.9331 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001771/0.6054, allocations: 153.1 kB / 0.9333 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.004e-05/0.6054, allocations: 5.656 kB / 0.9333 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.6054, allocations: 4.469 kB / 0.9333 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.6054, allocations: 4 kB / 0.9333 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.6056, allocations: 39.45 kB / 0.9333 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.6056, allocations: 3.141 kB / 0.9333 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.999e-05/0.6056, allocations: 10.66 kB / 0.9333 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-06/0.6057, allocations: 7.438 kB / 0.9333 GB, free: 16.76 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 6.747e-05/0.6057, allocations: 121.7 kB / 0.9335 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.896e-05/0.6058, allocations: 11.2 kB / 0.9335 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.338e-05/0.6058, allocations: 15.7 kB / 0.9335 GB, free: 16.63 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.6058, allocations: 3.453 kB / 0.9335 GB, free: 16.63 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.806e-06/0.6058, allocations: 7.938 kB / 0.9335 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.6058, allocations: 4.688 kB / 0.9335 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001177/0.6059, allocations: 197.2 kB / 0.9337 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.6059, allocations: 0 / 0.9337 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001651/0.6061, allocations: 35.38 kB / 0.9337 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.6061, allocations: 0.5156 kB / 0.9337 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.6061, allocations: 11.69 kB / 0.9337 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.6061, allocations: 0.6562 kB / 0.9337 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.6062, allocations: 0 / 0.9337 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002385/0.6064, allocations: 225.8 kB / 0.934 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.69e-05/0.6065, allocations: 90.28 kB / 0.934 GB, free: 16.24 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.6065, allocations: 2.625 kB / 0.934 GB, free: 16.24 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.6066, allocations: 7.797 kB / 0.934 GB, free: 16.24 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.041e-05/0.6066, allocations: 13.27 kB / 0.9341 GB, free: 16.24 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.6066, allocations: 9.328 kB / 0.9341 GB, free: 16.24 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 2.649e-05/0.6067, allocations: 78.61 kB / 0.9341 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6067, allocations: 96 / 0.9341 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001912/0.6069, allocations: 31.69 kB / 0.9342 GB, free: 16.16 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.0004243/0.6073, allocations: 0.7447 MB / 0.9349 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001748/0.6075, allocations: 116.3 kB / 0.935 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.6075, allocations: 4 kB / 0.935 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 5.561e-05/0.6076, allocations: 54.55 kB / 0.9351 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002155/0.6078, allocations: 23.12 kB / 0.9351 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.6092, allocations: 1.824 MB / 0.9369 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001872/0.6094, allocations: 0.6987 MB / 0.9376 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001125/0.6095, allocations: 28.78 kB / 0.9376 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.34e-05/0.6095, allocations: 26.62 kB / 0.9376 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.6095, allocations: 0 / 0.9376 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.69/1.3, allocations: 2.364 MB / 0.9399 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.58/8.879, allocations: 8.953 kB / 0.9399 GB, free: 12.97 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)