Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 108 kB / 16.41 MB, free: 6.441 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.001299/0.001299, allocations: 189.5 kB / 17.34 MB, free: 5.715 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.292/1.292, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002109/0.002109, allocations: 283.3 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9093/0.9093, allocations: 169.2 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001899/0.001899, allocations: 99.84 kB / 0.6821 GB, free: 6.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4109/0.4128, allocations: 86.98 MB / 0.767 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002294/0.4151, allocations: 1.487 MB / 0.7685 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00028/0.4154, allocations: 131.6 kB / 0.7686 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.213e-05/0.4155, allocations: 4 kB / 0.7686 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.547e-05/0.4155, allocations: 7.938 kB / 0.7686 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.437e-05/0.4156, allocations: 7.922 kB / 0.7686 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002852/0.4159, allocations: 65.91 kB / 0.7687 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.412e-05/0.416, allocations: 63.81 kB / 0.7688 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.222e-05/0.4161, allocations: 12 kB / 0.7688 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.158e-05/0.4161, allocations: 27.92 kB / 0.7688 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.786e-05/0.4162, allocations: 27.84 kB / 0.7688 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.152e-05/0.4162, allocations: 8 kB / 0.7688 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.473e-05/0.4163, allocations: 4 kB / 0.7688 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.321e-05/0.4163, allocations: 19.97 kB / 0.7689 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.764e-05/0.4163, allocations: 23.86 kB / 0.7689 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001061/0.4164, allocations: 59.45 kB / 0.7689 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.4164, allocations: 0 / 0.7689 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.733e-06/0.4164, allocations: 0 / 0.7689 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.059e-05/0.4165, allocations: 0 / 0.7689 GB, free: 1.98 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006202/0.4171, allocations: 374 kB / 0.7693 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.4171, allocations: 11.97 kB / 0.7693 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.252e-05/0.4172, allocations: 8.844 kB / 0.7693 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.4174, allocations: 176.2 kB / 0.7695 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.365e-05/0.4174, allocations: 30.27 kB / 0.7695 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.788e-05/0.4175, allocations: 8.359 kB / 0.7695 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002296/0.4177, allocations: 74.22 kB / 0.7696 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.4177, allocations: 3.938 kB / 0.7696 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.4177, allocations: 4 kB / 0.7696 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.315e-06/0.4177, allocations: 0 / 0.7696 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001738/0.4179, allocations: 47.95 kB / 0.7696 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006194/0.4185, allocations: 316.7 kB / 0.7699 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001295/0.4187, allocations: 50.56 kB / 0.77 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.015e-05/0.4188, allocations: 28.92 kB / 0.77 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.252e-05/0.4188, allocations: 0 / 0.77 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.4188, allocations: 34.56 kB / 0.7701 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 2.235e-06/0.4188, allocations: 0 / 0.7701 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0003686/0.4192, allocations: 105.6 kB / 0.7702 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.4193, allocations: 51.41 kB / 0.7702 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.599e-05/0.4194, allocations: 109.8 kB / 0.7703 GB, free: 388 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.4194, allocations: 29.7 kB / 0.7703 GB, free: 352 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.341e-05/0.4194, allocations: 89.91 kB / 0.7704 GB, free: 260 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.898e-05/0.4195, allocations: 15.75 kB / 0.7704 GB, free: 244 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.444e-05/0.4195, allocations: 17.72 kB / 0.7705 GB, free: 220 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.4197, allocations: 322.8 kB / 0.7708 GB, free: 15.89 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.628e-05/0.4197, allocations: 19.98 kB / 0.7708 GB, free: 15.87 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.4199, allocations: 37.69 kB / 0.7708 GB, free: 15.83 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001701/0.42, allocations: 61.59 kB / 0.7709 GB, free: 15.76 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.42, allocations: 8 kB / 0.7709 GB, free: 15.75 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002126/0.4203, allocations: 89.5 kB / 0.771 GB, free: 15.66 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.4203, allocations: 7.984 kB / 0.771 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.4203, allocations: 0 / 0.771 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.4203, allocations: 0 / 0.771 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.4204, allocations: 12 kB / 0.771 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.797e-05/0.4204, allocations: 3.984 kB / 0.771 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.576e-05/0.4205, allocations: 8.031 kB / 0.771 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.4205, allocations: 4 kB / 0.771 GB, free: 15.62 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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.4e-05/0.4206, allocations: 113.8 kB / 0.7711 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.806e-05/0.4206, allocations: 4 kB / 0.7711 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.018e-05/0.4207, allocations: 11.89 kB / 0.7711 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.4207, allocations: 0 / 0.7711 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.4207, allocations: 0 / 0.7711 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.4207, allocations: 4 kB / 0.7711 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001836/0.4209, allocations: 181.4 kB / 0.7713 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.4209, allocations: 4 kB / 0.7713 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.81e-05/0.421, allocations: 8 kB / 0.7713 GB, free: 15.24 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.421, allocations: 7.922 kB / 0.7713 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.421, allocations: 4 kB / 0.7713 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.644e-06/0.421, allocations: 4.125 kB / 0.7713 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.421, allocations: 0 / 0.7713 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002354/0.4212, allocations: 171.5 kB / 0.7715 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.695e-05/0.4213, allocations: 85.11 kB / 0.7716 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/0.4213, allocations: 0 / 0.7716 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.4214, allocations: 7.984 kB / 0.7716 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.437e-05/0.4215, allocations: 7.984 kB / 0.7716 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/0.4215, allocations: 0 / 0.7716 GB, free: 14.93 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.025e-05/0.4215, allocations: 91.27 kB / 0.7717 GB, free: 14.84 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4215, allocations: 0 / 0.7717 GB, free: 14.84 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002142/0.4218, allocations: 15.91 kB / 0.7717 GB, free: 14.82 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (4): * Single equations (assignments): 4 * 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 9.214e-05/0.4219, allocations: 103.2 kB / 0.7718 GB, free: 14.71 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002214/0.4221, allocations: 59.83 kB / 0.7718 GB, free: 14.65 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.4221, allocations: 0 / 0.7718 GB, free: 14.65 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.304e-05/0.4222, allocations: 19.98 kB / 0.7719 GB, free: 14.63 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/0.4225, allocations: 10.44 kB / 0.7719 GB, free: 14.62 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002954/0.4228, allocations: 167.3 kB / 0.772 GB, free: 14.43 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000229/0.423, allocations: 0.6807 MB / 0.7727 GB, free: 13.72 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.827e-05/0.423, allocations: 7.438 kB / 0.7727 GB, free: 13.71 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.423, allocations: 0 / 0.7727 GB, free: 13.71 MB / 0.545 GB Notification: Performance of Templates: time 0.00196/0.425, allocations: 0.8658 MB / 0.7736 GB, free: 12.86 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1)