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: "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TotalAirDryAir",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.004903/0.004903, allocations: 97.22 kB / 15.73 MB, free: 6.004 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.001264/0.001264, allocations: 195 kB / 16.67 MB, free: 5.934 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.505/1.505, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002457/0.002457, allocations: 298 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.064/1.064, allocations: 169.3 MB / 0.4983 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002731/0.002731, allocations: 100.3 kB / 0.681 GB, free: 7.473 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4581/0.4608, allocations: 86.97 MB / 0.7659 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.00272/0.4635, allocations: 1.5 MB / 0.7674 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003136/0.4639, allocations: 127.7 kB / 0.7675 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.637e-05/0.4639, allocations: 0 / 0.7675 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.811e-05/0.464, allocations: 7.922 kB / 0.7675 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.153e-05/0.4641, allocations: 11.94 kB / 0.7675 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003242/0.4644, allocations: 73.69 kB / 0.7676 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001132/0.4645, allocations: 55.84 kB / 0.7676 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.4646, allocations: 19.98 kB / 0.7676 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.223e-05/0.4647, allocations: 27.91 kB / 0.7677 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.461e-05/0.4647, allocations: 23.86 kB / 0.7677 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.269e-05/0.4648, allocations: 8 kB / 0.7677 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.365e-05/0.4648, allocations: 8 kB / 0.7677 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.192e-05/0.4648, allocations: 7.984 kB / 0.7677 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.988e-05/0.4649, allocations: 27.86 kB / 0.7677 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001195/0.465, allocations: 55.59 kB / 0.7678 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.465, allocations: 3.984 kB / 0.7678 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.012e-06/0.465, allocations: 4 kB / 0.7678 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.465, allocations: 0 / 0.7678 GB, free: 1.902 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.0005711/0.4656, allocations: 372.5 kB / 0.7682 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.4656, allocations: 8.031 kB / 0.7682 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.322e-05/0.4657, allocations: 42.75 kB / 0.7682 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.902e-05/0.4658, allocations: 12.88 kB / 0.7682 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.4659, allocations: 168.3 kB / 0.7684 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.127e-05/0.466, allocations: 30.27 kB / 0.7684 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.857e-06/0.466, allocations: 4.312 kB / 0.7684 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002197/0.4662, allocations: 81.95 kB / 0.7685 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.4662, allocations: 0 / 0.7685 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.4663, allocations: 0 / 0.7685 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.291e-06/0.4663, allocations: 8 kB / 0.7685 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001826/0.4665, allocations: 43.95 kB / 0.7685 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005938/0.4671, allocations: 320.6 kB / 0.7688 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001418/0.4672, allocations: 54.55 kB / 0.7689 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.693e-05/0.4673, allocations: 32.92 kB / 0.7689 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 8.175e-06/0.4673, allocations: 0 / 0.7689 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.4674, allocations: 30.56 kB / 0.769 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.4674, allocations: 0 / 0.769 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.000358/0.4677, allocations: 101.8 kB / 0.769 GB, free: 448 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/0.4678, allocations: 51.41 kB / 0.7691 GB, free: 384 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.495e-05/0.4679, allocations: 117.8 kB / 0.7692 GB, free: 256 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.4679, allocations: 25.7 kB / 0.7692 GB, free: 224 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.891e-05/0.468, allocations: 89.91 kB / 0.7693 GB, free: 132 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.731e-05/0.468, allocations: 11.91 kB / 0.7693 GB, free: 120 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.698e-05/0.468, allocations: 17.72 kB / 0.7693 GB, free: 96 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.4682, allocations: 318.8 kB / 0.7697 GB, free: 15.77 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.044e-05/0.4683, allocations: 27.91 kB / 0.7697 GB, free: 15.75 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.616e-05/0.4684, allocations: 33.7 kB / 0.7697 GB, free: 15.71 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001787/0.4686, allocations: 65.59 kB / 0.7698 GB, free: 15.64 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.4686, allocations: 0 / 0.7698 GB, free: 15.64 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000217/0.4688, allocations: 89.61 kB / 0.7699 GB, free: 15.54 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.4688, allocations: 4 kB / 0.7699 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.4689, allocations: 3.938 kB / 0.7699 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.4689, allocations: 4 kB / 0.7699 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.469, allocations: 11.98 kB / 0.7699 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.469, allocations: 0 / 0.7699 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.544e-05/0.4691, allocations: 11.92 kB / 0.7699 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.4691, allocations: 8.031 kB / 0.7699 GB, free: 15.5 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 9.9e-05/0.4692, allocations: 120.2 kB / 0.77 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.735e-05/0.4692, allocations: 0 / 0.77 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.024e-05/0.4693, allocations: 7.906 kB / 0.77 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.4693, allocations: 4 kB / 0.77 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.4693, allocations: 0 / 0.77 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.696e-06/0.4693, allocations: 0 / 0.77 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002153/0.4695, allocations: 173.6 kB / 0.7702 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.4695, allocations: 0 / 0.7702 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.319e-05/0.4696, allocations: 16.11 kB / 0.7702 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.4696, allocations: 4 kB / 0.7702 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.4696, allocations: 7.938 kB / 0.7702 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.4696, allocations: 0 / 0.7702 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.4696, allocations: 320 / 0.7702 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002922/0.4699, allocations: 187.3 kB / 0.7704 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.743e-05/0.47, allocations: 81.06 kB / 0.7705 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.491e-05/0.47, allocations: 4 kB / 0.7705 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/0.4702, allocations: 11.98 kB / 0.7705 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.488e-05/0.4702, allocations: 0 / 0.7705 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/0.4702, allocations: 11.98 kB / 0.7705 GB, free: 14.79 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.403e-05/0.4703, allocations: 83.27 kB / 0.7706 GB, free: 14.71 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4703, allocations: 0 / 0.7706 GB, free: 14.71 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003139/0.4706, allocations: 12 kB / 0.7706 GB, free: 14.7 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 0.0006077/0.4712, allocations: 0.7124 MB / 0.7713 GB, free: 13.96 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002378/0.4715, allocations: 51.95 kB / 0.7713 GB, free: 13.91 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.4715, allocations: 3.938 kB / 0.7713 GB, free: 13.9 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.007e-05/0.4716, allocations: 27.98 kB / 0.7714 GB, free: 13.88 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003721/0.4719, allocations: 4.938 kB / 0.7714 GB, free: 13.87 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00165/0.4736, allocations: 1.321 MB / 0.7727 GB, free: 12.46 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003781/0.474, allocations: 0.6885 MB / 0.7733 GB, free: 11.75 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.868e-05/0.474, allocations: 7.984 kB / 0.7733 GB, free: 11.74 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.171e-05/0.4741, allocations: 15.44 kB / 0.7734 GB, free: 11.73 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.4741, allocations: 0 / 0.7734 GB, free: 11.73 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02351/0.4976, allocations: 1.792 MB / 0.7751 GB, free: 10.08 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.406/8.903, allocations: 11.25 kB / 0.7751 GB, free: 10.07 MB / 0.545 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TotalAirDryAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TotalAirDryAir.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1)