Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.Density_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX",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.001177/0.001177, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 194.8 kB / 16.53 MB, free: 6.391 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.476/1.476, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7619/0.7619, allocations: 132.2 MB / 422.6 MB, free: 1.797 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 63.34 kB / 0.5019 GB, free: 3.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4473/0.4486, allocations: 80.2 MB / 0.5802 GB, free: 4.574 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002596/0.4513, allocations: 1.498 MB / 0.5816 GB, free: 3.527 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1549/0.6062, allocations: 132.1 MB / 0.7106 GB, free: 11.51 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001275/0.6064, allocations: 0 / 0.7106 GB, free: 11.51 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 5.525e-05/0.6064, allocations: 7.938 kB / 0.7106 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000111/0.6066, allocations: 7.875 kB / 0.7106 GB, free: 11.49 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005429/0.6072, allocations: 69.89 kB / 0.7107 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001376/0.6073, allocations: 55.84 kB / 0.7108 GB, free: 11.37 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.6074, allocations: 12 kB / 0.7108 GB, free: 11.36 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.596e-05/0.6075, allocations: 19.92 kB / 0.7108 GB, free: 11.34 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.641e-05/0.6076, allocations: 27.91 kB / 0.7108 GB, free: 11.31 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.001e-05/0.6076, allocations: 4 kB / 0.7108 GB, free: 11.31 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.6077, allocations: 15.94 kB / 0.7108 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.387e-05/0.6078, allocations: 15.92 kB / 0.7109 GB, free: 11.28 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.212e-05/0.6078, allocations: 23.86 kB / 0.7109 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001636/0.608, allocations: 59.56 kB / 0.7109 GB, free: 11.2 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.608, allocations: 0 / 0.7109 GB, free: 11.2 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.144e-06/0.608, allocations: 0 / 0.7109 GB, free: 11.2 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.643e-06/0.608, allocations: 0 / 0.7109 GB, free: 11.2 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006174/0.6087, allocations: 375.3 kB / 0.7113 GB, free: 10.78 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.6087, allocations: 12.03 kB / 0.7113 GB, free: 10.77 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.182e-05/0.6088, allocations: 30.75 kB / 0.7113 GB, free: 10.73 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.741e-05/0.6088, allocations: 12.84 kB / 0.7113 GB, free: 10.72 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.609, allocations: 172.3 kB / 0.7115 GB, free: 10.51 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.609, allocations: 8.375 kB / 0.7115 GB, free: 10.5 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.221e-05/0.609, allocations: 4.312 kB / 0.7115 GB, free: 10.5 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000278/0.6093, allocations: 70.22 kB / 0.7116 GB, free: 10.43 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.6093, allocations: 3.938 kB / 0.7116 GB, free: 10.42 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.6093, allocations: 4 kB / 0.7116 GB, free: 10.42 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.6093, allocations: 0 / 0.7116 GB, free: 10.42 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003079/0.6097, allocations: 75.91 kB / 0.7117 GB, free: 10.34 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004364/0.6101, allocations: 280.7 kB / 0.7119 GB, free: 10.02 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002107/0.6103, allocations: 62.41 kB / 0.712 GB, free: 9.949 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001498/0.6105, allocations: 40.92 kB / 0.712 GB, free: 9.906 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002033/0.6107, allocations: 89.09 kB / 0.7121 GB, free: 9.801 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.746e-05/0.6108, allocations: 34.5 kB / 0.7122 GB, free: 9.758 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.6108, allocations: 4 kB / 0.7122 GB, free: 9.754 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0005907/0.6114, allocations: 137.4 kB / 0.7123 GB, free: 9.613 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.6114, allocations: 51.41 kB / 0.7123 GB, free: 9.551 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.6115, allocations: 117.8 kB / 0.7125 GB, free: 9.426 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.6116, allocations: 25.7 kB / 0.7125 GB, free: 9.395 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.556e-05/0.6116, allocations: 92.12 kB / 0.7126 GB, free: 9.301 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.544e-05/0.6117, allocations: 7.906 kB / 0.7126 GB, free: 9.293 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.222e-05/0.6117, allocations: 13.72 kB / 0.7126 GB, free: 9.273 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.6118, allocations: 326.8 kB / 0.7129 GB, free: 8.945 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00015/0.612, allocations: 27.97 kB / 0.7129 GB, free: 8.918 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001487/0.6122, allocations: 36.14 kB / 0.713 GB, free: 8.883 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002803/0.6124, allocations: 68.88 kB / 0.713 GB, free: 8.812 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.6125, allocations: 0 / 0.713 GB, free: 8.812 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003303/0.6128, allocations: 109.5 kB / 0.7131 GB, free: 8.699 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.6128, allocations: 4 kB / 0.7131 GB, free: 8.695 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.6128, allocations: 0 / 0.7131 GB, free: 8.695 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.6128, allocations: 4 kB / 0.7131 GB, free: 8.691 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.613, allocations: 15.98 kB / 0.7132 GB, free: 8.676 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.613, allocations: 0 / 0.7132 GB, free: 8.676 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.254e-05/0.6131, allocations: 15.92 kB / 0.7132 GB, free: 8.66 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/0.6131, allocations: 0 / 0.7132 GB, free: 8.66 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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 7.942e-05/0.6132, allocations: 117.8 kB / 0.7133 GB, free: 8.535 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.111e-05/0.6132, allocations: 7.906 kB / 0.7133 GB, free: 8.527 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003907/0.6136, allocations: 113.5 kB / 0.7134 GB, free: 8.406 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.6136, allocations: 0 / 0.7134 GB, free: 8.406 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.6136, allocations: 0 / 0.7134 GB, free: 8.406 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.6136, allocations: 0 / 0.7134 GB, free: 8.406 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001987/0.6138, allocations: 177.6 kB / 0.7136 GB, free: 8.184 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.6139, allocations: 0 / 0.7136 GB, free: 8.184 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.675e-05/0.614, allocations: 15.92 kB / 0.7136 GB, free: 8.168 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.614, allocations: 4 kB / 0.7136 GB, free: 8.164 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.614, allocations: 4 kB / 0.7136 GB, free: 8.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.614, allocations: 0 / 0.7136 GB, free: 8.16 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.614, allocations: 0 / 0.7136 GB, free: 8.16 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003883/0.6144, allocations: 199.4 kB / 0.7138 GB, free: 7.949 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.995e-05/0.6144, allocations: 89.02 kB / 0.7139 GB, free: 7.844 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/0.6145, allocations: 0 / 0.7139 GB, free: 7.844 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.6146, allocations: 11.98 kB / 0.7139 GB, free: 7.832 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.572e-05/0.6146, allocations: 3.984 kB / 0.7139 GB, free: 7.828 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.804e-06/0.6146, allocations: 4 kB / 0.7139 GB, free: 7.824 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.071e-05/0.6147, allocations: 99.2 kB / 0.714 GB, free: 7.727 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.01e-07/0.6147, allocations: 3.938 kB / 0.714 GB, free: 7.723 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002391/0.615, allocations: 12 kB / 0.714 GB, free: 7.711 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 (3): * Single equations (assignments): 3 * 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.0007363/0.6157, allocations: 0.7358 MB / 0.7147 GB, free: 6.945 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003563/0.6161, allocations: 71.86 kB / 0.7148 GB, free: 6.875 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.6161, allocations: 0 / 0.7148 GB, free: 6.875 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001596/0.6163, allocations: 39.95 kB / 0.7148 GB, free: 6.836 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.6166, allocations: 8.375 kB / 0.7148 GB, free: 6.828 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002/0.6186, allocations: 1.43 MB / 0.7162 GB, free: 5.316 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002695/0.6189, allocations: 0.6884 MB / 0.7169 GB, free: 4.602 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.874e-05/0.6189, allocations: 7.984 kB / 0.7169 GB, free: 4.594 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.148e-05/0.619, allocations: 11.44 kB / 0.7169 GB, free: 4.582 MB / 0.545 GB Notification: Performance of SimCode: time 3.51e-07/0.619, allocations: 0 / 0.7169 GB, free: 4.582 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02023/0.6392, allocations: 2.008 MB / 0.7189 GB, free: 2.676 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.478/8.118, allocations: 13.36 kB / 0.7189 GB, free: 2.672 MB / 0.545 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)