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.001381/0.001381, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001581/0.001581, allocations: 199.3 kB / 16.14 MB, free: 6.664 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.242/1.242, allocations: 205.1 MB / 222 MB, free: 4.977 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.481/1.481, allocations: 292.3 MB / 0.5484 GB, free: 13.71 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.001248/0.001248, allocations: 63.95 kB / 0.6709 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1598, allocations: 114.6 MB / 0.7828 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.001876/0.1617, allocations: 1.393 MB / 0.7841 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.4277/0.5894, allocations: 145.8 MB / 0.9265 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.033e-05/0.5894, allocations: 0 / 0.9265 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.503e-05/0.5895, allocations: 6.516 kB / 0.9265 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.43e-05/0.5896, allocations: 8.156 kB / 0.9265 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006557/0.5902, allocations: 304.1 kB / 0.9268 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.839e-05/0.5903, allocations: 83.97 kB / 0.9269 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.114e-05/0.5904, allocations: 7.844 kB / 0.9269 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.643e-05/0.5904, allocations: 28.17 kB / 0.9269 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.102e-05/0.5905, allocations: 34.47 kB / 0.927 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.205e-05/0.5905, allocations: 7.531 kB / 0.927 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006804/0.5912, allocations: 499.6 kB / 0.9275 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.961e-05/0.5912, allocations: 21.62 kB / 0.9275 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.517e-05/0.5913, allocations: 23.03 kB / 0.9275 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00028/0.5916, allocations: 185.9 kB / 0.9277 GB, free: 6.008 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.5916, allocations: 0 / 0.9277 GB, free: 6.008 MB / 0.7325 GB Notification: Performance of FrontEnd: time 7.11e-07/0.5916, allocations: 1.031 kB / 0.9277 GB, free: 6.008 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.052e-06/0.5916, allocations: 0 / 0.9277 GB, free: 6.008 MB / 0.7325 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.0004114/0.592, allocations: 398.9 kB / 0.9281 GB, free: 21.63 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.592, allocations: 12.12 kB / 0.9281 GB, free: 21.63 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.289e-05/0.5921, allocations: 38.94 kB / 0.9281 GB, free: 21.59 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003362/0.5924, allocations: 32.64 kB / 0.9281 GB, free: 21.59 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.918e-05/0.5925, allocations: 170.6 kB / 0.9283 GB, free: 21.39 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.5925, allocations: 10.47 kB / 0.9283 GB, free: 21.39 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.176e-05/0.5926, allocations: 8.875 kB / 0.9283 GB, free: 21.39 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/0.5927, allocations: 78.45 kB / 0.9284 GB, free: 21.36 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.23e-06/0.5927, allocations: 4.844 kB / 0.9284 GB, free: 21.35 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.5927, allocations: 4.25 kB / 0.9284 GB, free: 21.35 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-06/0.5927, allocations: 1.719 kB / 0.9284 GB, free: 21.35 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.991e-05/0.5928, allocations: 45.06 kB / 0.9284 GB, free: 21.35 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001532/0.593, allocations: 189.5 kB / 0.9286 GB, free: 21.16 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001409/0.5931, allocations: 92 kB / 0.9287 GB, free: 21.13 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.095e-05/0.5932, allocations: 36.33 kB / 0.9287 GB, free: 21.12 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000205/0.5934, allocations: 176.3 kB / 0.9289 GB, free: 20.93 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.94e-05/0.5934, allocations: 35.38 kB / 0.9289 GB, free: 20.89 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=12): time 1.122e-06/0.5934, allocations: 2.594 kB / 0.929 GB, free: 20.89 MB / 0.7481 GB Notification: Performance of matching and sorting (n=19): time 0.001089/0.5945, allocations: 0.5414 MB / 0.9295 GB, free: 20.62 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/0.5946, allocations: 53.5 kB / 0.9295 GB, free: 20.56 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.478e-05/0.5946, allocations: 103.4 kB / 0.9296 GB, free: 20.46 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.5946, allocations: 34.08 kB / 0.9297 GB, free: 20.43 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 2.618e-05/0.5947, allocations: 80.52 kB / 0.9297 GB, free: 20.35 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.633e-05/0.5947, allocations: 79.8 kB / 0.9298 GB, free: 20.3 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.305e-05/0.5948, allocations: 40.75 kB / 0.9299 GB, free: 20.28 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.5949, allocations: 320.2 kB / 0.9302 GB, free: 19.96 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.464e-05/0.5949, allocations: 34.5 kB / 0.9302 GB, free: 19.96 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.427e-05/0.595, allocations: 72.95 kB / 0.9303 GB, free: 19.93 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001248/0.5951, allocations: 116.8 kB / 0.9304 GB, free: 19.9 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.5951, allocations: 0.8125 kB / 0.9304 GB, free: 19.9 MB / 0.7481 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001923/0.5953, allocations: 160.8 kB / 0.9305 GB, free: 19.86 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.5954, allocations: 8.922 kB / 0.9305 GB, free: 19.86 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.5954, allocations: 1.094 kB / 0.9305 GB, free: 19.86 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.237e-06/0.5954, allocations: 3.5 kB / 0.9305 GB, free: 19.86 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.5955, allocations: 37.67 kB / 0.9306 GB, free: 19.86 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.5955, allocations: 1.75 kB / 0.9306 GB, free: 19.86 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.898e-05/0.5956, allocations: 8.688 kB / 0.9306 GB, free: 19.86 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-06/0.5956, allocations: 4.938 kB / 0.9306 GB, free: 19.86 MB / 0.7481 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 7.685e-05/0.5957, allocations: 129.1 kB / 0.9307 GB, free: 19.74 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.812e-05/0.5957, allocations: 4.5 kB / 0.9307 GB, free: 19.74 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.675e-05/0.5958, allocations: 17.77 kB / 0.9307 GB, free: 19.73 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.5958, allocations: 1.562 kB / 0.9307 GB, free: 19.73 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.5958, allocations: 0.8438 kB / 0.9307 GB, free: 19.73 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.5958, allocations: 9.016 kB / 0.9307 GB, free: 19.73 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001246/0.5959, allocations: 190.8 kB / 0.9309 GB, free: 19.54 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.5959, allocations: 0 / 0.9309 GB, free: 19.54 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001719/0.5961, allocations: 40.89 kB / 0.931 GB, free: 19.54 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.5961, allocations: 6.562 kB / 0.931 GB, free: 19.54 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.5961, allocations: 1.531 kB / 0.931 GB, free: 19.54 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.5961, allocations: 0.625 kB / 0.931 GB, free: 19.54 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.5961, allocations: 0.7812 kB / 0.931 GB, free: 19.54 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002489/0.5964, allocations: 220.7 kB / 0.9312 GB, free: 19.46 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 6.416e-05/0.5964, allocations: 93.25 kB / 0.9313 GB, free: 19.36 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.5965, allocations: 6.156 kB / 0.9313 GB, free: 19.36 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.5966, allocations: 7.062 kB / 0.9313 GB, free: 19.36 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.348e-05/0.5966, allocations: 20.44 kB / 0.9313 GB, free: 19.35 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.5966, allocations: 4.656 kB / 0.9313 GB, free: 19.35 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 3.198e-05/0.5967, allocations: 77 kB / 0.9314 GB, free: 19.28 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5967, allocations: 0 / 0.9314 GB, free: 19.28 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000197/0.5969, allocations: 31.05 kB / 0.9314 GB, free: 19.28 MB / 0.7481 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.5974, allocations: 0.7492 MB / 0.9321 GB, free: 18.68 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000164/0.5976, allocations: 104.2 kB / 0.9322 GB, free: 18.67 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.5976, allocations: 4.125 kB / 0.9323 GB, free: 18.67 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 6.474e-05/0.5976, allocations: 54.2 kB / 0.9323 GB, free: 18.67 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002124/0.5978, allocations: 26.44 kB / 0.9323 GB, free: 18.66 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001399/0.5993, allocations: 1.833 MB / 0.9341 GB, free: 17.28 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002277/0.5995, allocations: 0.7025 MB / 0.9348 GB, free: 16.58 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001145/0.5996, allocations: 26.16 kB / 0.9348 GB, free: 16.57 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.175e-05/0.5997, allocations: 24.66 kB / 0.9349 GB, free: 16.56 MB / 0.7481 GB Notification: Performance of SimCode: time 2.7e-07/0.5997, allocations: 0 / 0.9349 GB, free: 16.56 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9686/1.568, allocations: 2.236 MB / 0.937 GB, free: 16.25 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001942/1.568, allocations: 186.4 kB / 0.9372 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.076/3.645, allocations: 0 / 0.9372 GB, free: 15.99 MB / 0.7481 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)