Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="IDEAS_dev_IDEAS_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.004872/0.004872, allocations: 96.2 kB / 15.73 MB, free: 6.039 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.001331/0.001331, allocations: 201.1 kB / 16.68 MB, free: 5.969 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.478/1.478, allocations: 222.9 MB / 240.4 MB, free: 4.156 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.001/1.001, allocations: 135.5 MB / 426.1 MB, free: 12.06 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 63.91 kB / 0.5857 GB, free: 3.176 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4316/0.4335, allocations: 81.01 MB / 0.6649 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002109/0.4357, allocations: 1.496 MB / 0.6663 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002596/0.4359, allocations: 134.9 kB / 0.6664 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.12e-05/0.436, allocations: 1.219 kB / 0.6664 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.742e-05/0.436, allocations: 3.938 kB / 0.6665 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.307e-05/0.4361, allocations: 5.125 kB / 0.6665 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002664/0.4364, allocations: 66.02 kB / 0.6665 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.705e-05/0.4365, allocations: 61.41 kB / 0.6666 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.4366, allocations: 27.81 kB / 0.6666 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.057e-05/0.4366, allocations: 23.11 kB / 0.6666 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.187e-05/0.4367, allocations: 21.8 kB / 0.6666 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.203e-05/0.4367, allocations: 5.281 kB / 0.6667 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.515e-05/0.4367, allocations: 5.031 kB / 0.6667 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.223e-05/0.4368, allocations: 14.14 kB / 0.6667 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.139e-05/0.4368, allocations: 30.09 kB / 0.6667 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.475e-05/0.4369, allocations: 52.91 kB / 0.6668 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.716e-06/0.4369, allocations: 0 / 0.6668 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.323e-06/0.4369, allocations: 0 / 0.6668 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.4369, allocations: 1.125 kB / 0.6668 GB, free: 5.551 MB / 0.4981 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.0004285/0.4374, allocations: 376.3 kB / 0.6671 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.4374, allocations: 9.125 kB / 0.6671 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.699e-05/0.4374, allocations: 40.05 kB / 0.6672 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.239e-05/0.4375, allocations: 4.906 kB / 0.6672 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.071e-05/0.4375, allocations: 174.6 kB / 0.6673 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.053e-05/0.4376, allocations: 28.95 kB / 0.6674 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.513e-05/0.4376, allocations: 12.05 kB / 0.6674 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/0.4378, allocations: 80.56 kB / 0.6674 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.4378, allocations: 0 / 0.6674 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.4379, allocations: 1.531 kB / 0.6674 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.4379, allocations: 1.438 kB / 0.6674 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001734/0.438, allocations: 44.05 kB / 0.6675 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004856/0.4385, allocations: 322 kB / 0.6678 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001251/0.4387, allocations: 49.61 kB / 0.6678 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.358e-05/0.4388, allocations: 31.55 kB / 0.6679 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.4388, allocations: 1.375 kB / 0.6679 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.494e-05/0.4388, allocations: 38.56 kB / 0.6679 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.4388, allocations: 1.656 kB / 0.6679 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0003391/0.4392, allocations: 95.89 kB / 0.668 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.95e-05/0.4392, allocations: 52.84 kB / 0.6681 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.761e-05/0.4393, allocations: 107.4 kB / 0.6682 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.4393, allocations: 27.33 kB / 0.6682 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.882e-05/0.4393, allocations: 97.2 kB / 0.6683 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.221e-05/0.4393, allocations: 17.41 kB / 0.6683 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.093e-05/0.4394, allocations: 21.38 kB / 0.6683 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.081e-05/0.4394, allocations: 324.2 kB / 0.6686 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.702e-05/0.4395, allocations: 20.67 kB / 0.6686 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.696e-05/0.4396, allocations: 34.91 kB / 0.6687 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001666/0.4398, allocations: 58.75 kB / 0.6687 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4398, allocations: 4 kB / 0.6687 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002029/0.44, allocations: 87.34 kB / 0.6688 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.44, allocations: 4.75 kB / 0.6688 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.44, allocations: 0 / 0.6688 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.44, allocations: 1.5 kB / 0.6688 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.341e-05/0.4401, allocations: 17.48 kB / 0.6688 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.4401, allocations: 1.656 kB / 0.6688 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.448e-05/0.4402, allocations: 11.69 kB / 0.6689 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.4402, allocations: 1.062 kB / 0.6689 GB, free: 3.477 MB / 0.4981 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 4.692e-05/0.4403, allocations: 116.5 kB / 0.669 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.676e-05/0.4403, allocations: 2.531 kB / 0.669 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.12e-05/0.4403, allocations: 9.188 kB / 0.669 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.4403, allocations: 1.562 kB / 0.669 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.4403, allocations: 7.984 kB / 0.669 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.4403, allocations: 4.172 kB / 0.669 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001199/0.4405, allocations: 176 kB / 0.6692 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4405, allocations: 3.984 kB / 0.6692 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.944e-05/0.4405, allocations: 12.64 kB / 0.6692 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.4406, allocations: 0 / 0.6692 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.4406, allocations: 1.125 kB / 0.6692 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.4406, allocations: 0 / 0.6692 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.4406, allocations: 5.156 kB / 0.6692 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002115/0.4408, allocations: 185.9 kB / 0.6694 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.561e-05/0.4408, allocations: 78.33 kB / 0.6694 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.142e-05/0.4408, allocations: 0 / 0.6694 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/0.441, allocations: 11.11 kB / 0.6694 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.525e-05/0.441, allocations: 5 kB / 0.6694 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.441, allocations: 6.453 kB / 0.6695 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.538e-05/0.4411, allocations: 85.66 kB / 0.6695 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4411, allocations: 0 / 0.6695 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002226/0.4413, allocations: 11.38 kB / 0.6695 GB, free: 2.754 MB / 0.4981 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.0003753/0.4417, allocations: 0.7112 MB / 0.6702 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002162/0.4419, allocations: 53.8 kB / 0.6703 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.4419, allocations: 0 / 0.6703 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.883e-05/0.442, allocations: 26.86 kB / 0.6703 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002803/0.4423, allocations: 11.33 kB / 0.6703 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/0.4434, allocations: 1.323 MB / 0.6716 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001058/0.4435, allocations: 0.6862 MB / 0.6723 GB, free: 36 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.805e-05/0.4435, allocations: 7.828 kB / 0.6723 GB, free: 32 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.671e-05/0.4436, allocations: 16.73 kB / 0.6723 GB, free: 16 kB / 0.4981 GB Notification: Performance of SimCode: time 3e-07/0.4436, allocations: 1.188 kB / 0.6723 GB, free: 16 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02273/0.4663, allocations: 1.78 MB / 0.6741 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.032/8.498, allocations: 9.703 kB / 0.6741 GB, free: 15.04 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_TotalAirDryAir.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1)