Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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: translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.hSteSym.|der.hSteCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_10_Buildings.Media.Examples.AirDerivativeCheck") translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.hSteSym.|der.hSteCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_10_Buildings.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001558/0.001558, allocations: 115.2 kB / 16.42 MB, free: 6.449 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.001801/0.001801, allocations: 183.9 kB / 17.35 MB, free: 5.738 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.481/1.481, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.422/2.422, allocations: 437 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 56.12 kB / 1.019 GB, free: 9.473 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6791/0.6806, allocations: 151.6 MB / 1.167 GB, free: 3.875 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002563/0.6832, allocations: 1.344 MB / 1.169 GB, free: 2.523 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.1415/0.8247, allocations: 148.1 MB / 1.313 GB, free: 13.84 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.365e-05/0.8248, allocations: 0 / 1.313 GB, free: 13.84 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.705e-05/0.8248, allocations: 7.922 kB / 1.313 GB, free: 13.84 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 9.075e-05/0.825, allocations: 11.92 kB / 1.313 GB, free: 13.82 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001058/0.826, allocations: 342.5 kB / 1.314 GB, free: 13.49 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001067/0.8261, allocations: 63.83 kB / 1.314 GB, free: 13.43 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.563e-05/0.8262, allocations: 7.984 kB / 1.314 GB, free: 13.42 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.411e-05/0.8262, allocations: 31.91 kB / 1.314 GB, free: 13.39 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 9.245e-05/0.8263, allocations: 31.89 kB / 1.314 GB, free: 13.36 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.8263, allocations: 7.938 kB / 1.314 GB, free: 13.35 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008557/0.8272, allocations: 406.8 kB / 1.314 GB, free: 12.95 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.014e-05/0.8273, allocations: 19.97 kB / 1.314 GB, free: 12.93 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.996e-05/0.8273, allocations: 23.88 kB / 1.314 GB, free: 12.91 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000339/0.8277, allocations: 165.3 kB / 1.314 GB, free: 12.75 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.8277, allocations: 0 / 1.314 GB, free: 12.75 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.393e-06/0.8277, allocations: 0 / 1.314 GB, free: 12.75 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.8277, allocations: 0 / 1.314 GB, free: 12.75 MB / 1.045 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.00044/0.8281, allocations: 391.3 kB / 1.315 GB, free: 12.32 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.8282, allocations: 8.031 kB / 1.315 GB, free: 12.31 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004166/0.8286, allocations: 40.89 kB / 1.315 GB, free: 12.27 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.8287, allocations: 164.4 kB / 1.315 GB, free: 12.07 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.8288, allocations: 7.938 kB / 1.315 GB, free: 12.07 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.632e-05/0.8288, allocations: 11.91 kB / 1.315 GB, free: 12.05 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/0.829, allocations: 81.58 kB / 1.315 GB, free: 11.97 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.829, allocations: 0 / 1.315 GB, free: 11.97 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.829, allocations: 8 kB / 1.315 GB, free: 11.96 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.829, allocations: 0 / 1.315 GB, free: 11.96 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.82e-05/0.8291, allocations: 43.95 kB / 1.315 GB, free: 11.92 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001864/0.8293, allocations: 181.5 kB / 1.315 GB, free: 11.69 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001732/0.8295, allocations: 106.7 kB / 1.315 GB, free: 11.58 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.67e-05/0.8296, allocations: 33 kB / 1.315 GB, free: 11.54 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002206/0.8298, allocations: 174.2 kB / 1.315 GB, free: 11.34 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.695e-05/0.8299, allocations: 38.55 kB / 1.316 GB, free: 11.29 MB / 1.045 GB Notification: Performance of pre-optimization done (n=12): time 1.493e-06/0.8299, allocations: 4 kB / 1.316 GB, free: 11.29 MB / 1.045 GB Notification: Performance of matching and sorting (n=19): time 0.00129/0.8312, allocations: 0.5313 MB / 1.316 GB, free: 10.7 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.548e-05/0.8312, allocations: 51.41 kB / 1.316 GB, free: 10.64 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.108e-05/0.8313, allocations: 101.8 kB / 1.316 GB, free: 10.53 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.8313, allocations: 33.64 kB / 1.316 GB, free: 10.49 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 2.536e-05/0.8313, allocations: 80.52 kB / 1.316 GB, free: 10.41 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.818e-05/0.8314, allocations: 71 kB / 1.316 GB, free: 10.34 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.655e-05/0.8315, allocations: 53.41 kB / 1.316 GB, free: 10.28 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 9.921e-05/0.8316, allocations: 322.8 kB / 1.317 GB, free: 9.957 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.209e-05/0.8316, allocations: 35.98 kB / 1.317 GB, free: 9.922 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.488e-05/0.8317, allocations: 69.97 kB / 1.317 GB, free: 9.844 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/0.8319, allocations: 119.4 kB / 1.317 GB, free: 9.715 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.8319, allocations: 0 / 1.317 GB, free: 9.715 MB / 1.045 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002269/0.8321, allocations: 157.5 kB / 1.317 GB, free: 9.555 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.8322, allocations: 8 kB / 1.317 GB, free: 9.547 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.8322, allocations: 0 / 1.317 GB, free: 9.547 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.8322, allocations: 0 / 1.317 GB, free: 9.547 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001688/0.8324, allocations: 43.92 kB / 1.317 GB, free: 9.504 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.8324, allocations: 11.98 kB / 1.317 GB, free: 9.492 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.813e-05/0.8324, allocations: 3.938 kB / 1.317 GB, free: 9.488 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/0.8325, allocations: 8 kB / 1.317 GB, free: 9.48 MB / 1.045 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 0.0001205/0.8326, allocations: 129.7 kB / 1.317 GB, free: 9.344 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.996e-05/0.8326, allocations: 4 kB / 1.317 GB, free: 9.34 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.251e-05/0.8327, allocations: 12.44 kB / 1.317 GB, free: 9.324 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.217e-06/0.8327, allocations: 0 / 1.317 GB, free: 9.324 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.8327, allocations: 0 / 1.317 GB, free: 9.324 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 8.263e-05/0.8328, allocations: 100.9 kB / 1.317 GB, free: 9.207 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.846e-05/0.8328, allocations: 7.984 kB / 1.317 GB, free: 9.199 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.8329, allocations: 8 kB / 1.317 GB, free: 9.191 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.869e-05/0.833, allocations: 11.97 kB / 1.317 GB, free: 9.18 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003782/0.8333, allocations: 232.8 kB / 1.318 GB, free: 8.945 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003551/0.8337, allocations: 376.7 kB / 1.318 GB, free: 8.562 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.831e-05/0.8338, allocations: 55.95 kB / 1.318 GB, free: 8.508 MB / 1.045 GB Notification: Performance of sorting global known variables: time 2.852e-05/0.8338, allocations: 79.28 kB / 1.318 GB, free: 8.43 MB / 1.045 GB Notification: Performance of Backend: time 4.91e-07/0.8338, allocations: 0 / 1.318 GB, free: 8.43 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0005637/0.8344, allocations: 214.3 kB / 1.318 GB, free: 8.211 MB / 1.045 GB Notification: Performance of SimCode: time 0.0008209/0.8352, allocations: 0.9201 MB / 1.319 GB, free: 7.242 MB / 1.045 GB Notification: Performance of Templates: time 0.005285/0.8405, allocations: 2.381 MB / 1.322 GB, free: 4.863 MB / 1.045 GB make -j1 -f Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.makefile (rm -f Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_10_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1)