Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirDerivativeCheck.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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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: translateModel(Buildings.Media.PerfectGases.Examples.MoistAirDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirDerivativeCheck") translateModel(Buildings.Media.PerfectGases.Examples.MoistAirDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001323/0.001324, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001619/0.001619, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.355/1.355, allocations: 205.4 MB / 222.1 MB, free: 5.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5864/0.5864, allocations: 95.58 MB / 365.9 MB, free: 10.37 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005473/0.0005475, allocations: 23.94 kB / 446.8 MB, free: 9.379 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.297/0.2976, allocations: 70.33 MB / 0.505 GB, free: 16.66 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.PerfectGases.Examples.MoistAirDerivativeCheck): time 0.0009762/0.2986, allocations: 0.9681 MB / 0.5059 GB, free: 15.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.4132/0.7118, allocations: 128.4 MB / 0.6313 GB, free: 2.043 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.199e-05/0.7119, allocations: 0 / 0.6313 GB, free: 2.043 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.685e-05/0.7119, allocations: 6.156 kB / 0.6313 GB, free: 2.039 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.383e-05/0.712, allocations: 4.078 kB / 0.6313 GB, free: 2.039 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003573/0.7123, allocations: 77.86 kB / 0.6314 GB, free: 2.039 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.404e-05/0.7124, allocations: 19.59 kB / 0.6314 GB, free: 2.039 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.003e-05/0.7125, allocations: 3.625 kB / 0.6314 GB, free: 2.039 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.656e-05/0.7125, allocations: 17.91 kB / 0.6314 GB, free: 2.039 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.32e-05/0.7126, allocations: 10.59 kB / 0.6314 GB, free: 2.039 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.7126, allocations: 1.812 kB / 0.6314 GB, free: 2.039 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003728/0.713, allocations: 114.6 kB / 0.6315 GB, free: 2.035 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.449e-05/0.713, allocations: 7.281 kB / 0.6315 GB, free: 2.035 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.666e-05/0.7131, allocations: 30.97 kB / 0.6316 GB, free: 2.004 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001252/0.7132, allocations: 46.34 kB / 0.6316 GB, free: 2 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.796e-06/0.7132, allocations: 0.9375 kB / 0.6316 GB, free: 2 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.7132, allocations: 3.938 kB / 0.6316 GB, free: 1.996 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.439e-06/0.7132, allocations: 0 / 0.6316 GB, free: 1.996 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004199/0.7136, allocations: 343.4 kB / 0.6319 GB, free: 17.64 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.7137, allocations: 12.89 kB / 0.632 GB, free: 17.63 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.672e-05/0.7137, allocations: 10.33 kB / 0.632 GB, free: 17.62 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.7139, allocations: 167.9 kB / 0.6321 GB, free: 17.43 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.7139, allocations: 1.5 kB / 0.6321 GB, free: 17.43 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.275e-05/0.7139, allocations: 6.375 kB / 0.6321 GB, free: 17.43 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/0.7141, allocations: 68.52 kB / 0.6322 GB, free: 17.37 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.7141, allocations: 0 / 0.6322 GB, free: 17.37 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/0.7141, allocations: 1.703 kB / 0.6322 GB, free: 17.37 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.7141, allocations: 0.9688 kB / 0.6322 GB, free: 17.37 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.338e-05/0.7142, allocations: 17 kB / 0.6322 GB, free: 17.37 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001799/0.7143, allocations: 183.8 kB / 0.6324 GB, free: 17.15 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.568e-05/0.7144, allocations: 72.72 kB / 0.6325 GB, free: 17.08 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002622/0.7147, allocations: 245.1 kB / 0.6327 GB, free: 16.8 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.7147, allocations: 35.22 kB / 0.6327 GB, free: 16.76 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.7147, allocations: 0.7188 kB / 0.6327 GB, free: 16.76 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0008658/0.7156, allocations: 0.6696 MB / 0.6334 GB, free: 16.09 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.174e-05/0.7157, allocations: 107.5 kB / 0.6335 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.952e-05/0.7157, allocations: 93.08 kB / 0.6336 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.7157, allocations: 30.48 kB / 0.6336 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.38e-05/0.7158, allocations: 84.33 kB / 0.6337 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.317e-05/0.7158, allocations: 40.38 kB / 0.6337 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-06/0.7158, allocations: 0 / 0.6337 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.65e-05/0.7159, allocations: 321.7 kB / 0.634 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.798e-05/0.7159, allocations: 15.41 kB / 0.634 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.117e-05/0.716, allocations: 50.23 kB / 0.6341 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.157e-05/0.716, allocations: 24.56 kB / 0.6341 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.716, allocations: 0 / 0.6341 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001481/0.7162, allocations: 93.33 kB / 0.6342 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.7162, allocations: 5.969 kB / 0.6342 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.7162, allocations: 5.844 kB / 0.6342 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.7163, allocations: 1.25 kB / 0.6342 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.947e-05/0.7164, allocations: 29.53 kB / 0.6342 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.7164, allocations: 3.203 kB / 0.6342 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.865e-05/0.7164, allocations: 1.375 kB / 0.6342 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.7164, allocations: 4.609 kB / 0.6343 GB, free: 15.32 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.548e-05/0.7165, allocations: 125.1 kB / 0.6344 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.524e-05/0.7165, allocations: 3.094 kB / 0.6344 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001943/0.7167, allocations: 111.1 kB / 0.6345 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.7167, allocations: 0 / 0.6345 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.7168, allocations: 5.375 kB / 0.6345 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.7168, allocations: 1.859 kB / 0.6345 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001207/0.7169, allocations: 169.6 kB / 0.6346 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.7169, allocations: 1 kB / 0.6346 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.717, allocations: 19.91 kB / 0.6347 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.717, allocations: 1.641 kB / 0.6347 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.717, allocations: 13.12 kB / 0.6347 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.717, allocations: 2.719 kB / 0.6347 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.7171, allocations: 3.625 kB / 0.6347 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001969/0.7173, allocations: 150.9 kB / 0.6348 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.648e-05/0.7173, allocations: 92.58 kB / 0.6349 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.67e-05/0.7174, allocations: 3.562 kB / 0.6349 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.704e-05/0.7174, allocations: 5.203 kB / 0.6349 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.633e-05/0.7175, allocations: 6.609 kB / 0.6349 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.809e-06/0.7175, allocations: 4.297 kB / 0.6349 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.586e-05/0.7175, allocations: 79.84 kB / 0.635 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7175, allocations: 0 / 0.635 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002532/0.7178, allocations: 36.02 kB / 0.635 GB, free: 14.65 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (hAirSym,hSteSym,hLiqSym) * 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 (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001732/0.718, allocations: 132.8 kB / 0.6352 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001359/0.7181, allocations: 48.41 kB / 0.6352 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.7181, allocations: 1.375 kB / 0.6352 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.206e-05/0.7182, allocations: 23.66 kB / 0.6352 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001136/0.7183, allocations: 8.438 kB / 0.6353 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005392/0.7188, allocations: 376.5 kB / 0.6356 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002315/0.7191, allocations: 0.693 MB / 0.6363 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.846e-05/0.7191, allocations: 9.609 kB / 0.6363 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.034e-05/0.7192, allocations: 12.55 kB / 0.6363 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.7192, allocations: 0 / 0.6363 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of Templates: time 0.003413/0.7226, allocations: 0.9495 MB / 0.6372 GB, free: 13.42 MB / 0.4981 GB make -j1 -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirDerivativeCheck.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirDerivativeCheck.pipe ; mkfifo Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirDerivativeCheck.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirDerivativeCheck.pipe >> ../files/Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirDerivativeCheck.sim & ./Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: