Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Density_pTX,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="IDEAS_dev_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.001689/0.001689, allocations: 108 kB / 15.61 MB, free: 148 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.002151/0.002151, allocations: 194.1 kB / 16.53 MB, free: 6.664 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.403/1.403, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.012/1.012, allocations: 135.1 MB / 425.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 64.38 kB / 0.5054 GB, free: 5.242 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2009/0.2023, allocations: 80.92 MB / 0.5845 GB, free: 4.477 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX): time 0.003519/0.2059, allocations: 1.48 MB / 0.5859 GB, free: 2.98 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4145/0.6204, allocations: 132.1 MB / 0.7149 GB, free: 12.1 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.994e-05/0.6205, allocations: 1.312 kB / 0.7149 GB, free: 12.1 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.856e-05/0.6205, allocations: 5.203 kB / 0.7149 GB, free: 12.09 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.031e-05/0.6206, allocations: 14.78 kB / 0.7149 GB, free: 12.08 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004073/0.621, allocations: 70.39 kB / 0.715 GB, free: 12.05 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001093/0.6212, allocations: 53.41 kB / 0.715 GB, free: 12.02 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.6213, allocations: 12.31 kB / 0.715 GB, free: 12.02 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.215e-05/0.6213, allocations: 19.12 kB / 0.7151 GB, free: 12.01 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.218e-05/0.6214, allocations: 29.7 kB / 0.7151 GB, free: 12 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.6214, allocations: 4.656 kB / 0.7151 GB, free: 12 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001062/0.6216, allocations: 20.34 kB / 0.7151 GB, free: 11.99 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.865e-05/0.6216, allocations: 7.656 kB / 0.7151 GB, free: 11.98 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.233e-05/0.6216, allocations: 28.97 kB / 0.7151 GB, free: 11.96 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001673/0.6218, allocations: 60.28 kB / 0.7152 GB, free: 11.94 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.6218, allocations: 0 / 0.7152 GB, free: 11.94 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.372e-06/0.6218, allocations: 0 / 0.7152 GB, free: 11.94 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.155e-05/0.6218, allocations: 1.156 kB / 0.7152 GB, free: 11.94 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.000603/0.6225, allocations: 372.2 kB / 0.7156 GB, free: 11.58 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.6225, allocations: 9.422 kB / 0.7156 GB, free: 11.58 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.747e-05/0.6226, allocations: 37.44 kB / 0.7156 GB, free: 11.54 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.949e-05/0.6226, allocations: 7.469 kB / 0.7156 GB, free: 11.53 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.6228, allocations: 172.8 kB / 0.7158 GB, free: 11.33 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.6228, allocations: 1.312 kB / 0.7158 GB, free: 11.33 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.368e-05/0.6228, allocations: 10.31 kB / 0.7158 GB, free: 11.32 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002994/0.6231, allocations: 76.84 kB / 0.7159 GB, free: 11.28 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.6231, allocations: 5.344 kB / 0.7159 GB, free: 11.27 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.6232, allocations: 0 / 0.7159 GB, free: 11.27 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.6232, allocations: 1.125 kB / 0.7159 GB, free: 11.27 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003251/0.6235, allocations: 68.75 kB / 0.7159 GB, free: 11.26 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005136/0.624, allocations: 287.4 kB / 0.7162 GB, free: 10.97 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002335/0.6243, allocations: 60.17 kB / 0.7163 GB, free: 10.93 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001836/0.6245, allocations: 41.56 kB / 0.7163 GB, free: 10.92 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002208/0.6247, allocations: 88.09 kB / 0.7164 GB, free: 10.82 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.077e-05/0.6248, allocations: 32.58 kB / 0.7164 GB, free: 10.79 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.814e-06/0.6248, allocations: 0 / 0.7164 GB, free: 10.79 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0006596/0.6254, allocations: 139.1 kB / 0.7165 GB, free: 10.73 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.841e-05/0.6255, allocations: 51.41 kB / 0.7166 GB, free: 10.67 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.6257, allocations: 117.8 kB / 0.7167 GB, free: 10.56 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.6257, allocations: 25.7 kB / 0.7167 GB, free: 10.53 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.533e-05/0.6258, allocations: 92.12 kB / 0.7168 GB, free: 10.44 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.584e-05/0.6258, allocations: 6.094 kB / 0.7168 GB, free: 10.44 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.901e-05/0.6259, allocations: 17.19 kB / 0.7168 GB, free: 10.42 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001765/0.626, allocations: 322 kB / 0.7172 GB, free: 10.1 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001693/0.6262, allocations: 31.62 kB / 0.7172 GB, free: 10.09 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001541/0.6264, allocations: 31.17 kB / 0.7172 GB, free: 10.09 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003204/0.6267, allocations: 73.22 kB / 0.7173 GB, free: 10.07 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.6267, allocations: 1.125 kB / 0.7173 GB, free: 10.07 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003743/0.6271, allocations: 106.8 kB / 0.7174 GB, free: 10.02 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.6271, allocations: 12.34 kB / 0.7174 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.6271, allocations: 0 / 0.7174 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.6272, allocations: 1.703 kB / 0.7174 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.6273, allocations: 18.39 kB / 0.7174 GB, free: 10.01 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.6273, allocations: 1.75 kB / 0.7174 GB, free: 10.01 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.995e-05/0.6274, allocations: 14.78 kB / 0.7174 GB, free: 10.01 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.6274, allocations: 1.812 kB / 0.7174 GB, free: 10.01 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 8.629e-05/0.6275, allocations: 117.2 kB / 0.7175 GB, free: 9.887 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.329e-05/0.6276, allocations: 3.016 kB / 0.7175 GB, free: 9.887 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004229/0.628, allocations: 109.1 kB / 0.7177 GB, free: 9.836 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.628, allocations: 1.031 kB / 0.7177 GB, free: 9.836 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.628, allocations: 3.938 kB / 0.7177 GB, free: 9.832 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.628, allocations: 1.938 kB / 0.7177 GB, free: 9.832 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001787/0.6282, allocations: 176.2 kB / 0.7178 GB, free: 9.629 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.6282, allocations: 5.094 kB / 0.7178 GB, free: 9.625 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.703e-05/0.6283, allocations: 16.27 kB / 0.7178 GB, free: 9.625 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.6283, allocations: 0 / 0.7178 GB, free: 9.625 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.6284, allocations: 9.469 kB / 0.7179 GB, free: 9.617 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.6284, allocations: 0 / 0.7179 GB, free: 9.617 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.6284, allocations: 3.547 kB / 0.7179 GB, free: 9.617 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003846/0.6288, allocations: 195.1 kB / 0.718 GB, free: 9.473 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.965e-05/0.6288, allocations: 82.97 kB / 0.7181 GB, free: 9.375 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.6288, allocations: 1.859 kB / 0.7181 GB, free: 9.375 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.629, allocations: 15.16 kB / 0.7181 GB, free: 9.371 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.79e-05/0.629, allocations: 3.703 kB / 0.7181 GB, free: 9.371 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.629, allocations: 1.797 kB / 0.7181 GB, free: 9.371 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.61e-05/0.6291, allocations: 90.59 kB / 0.7182 GB, free: 9.293 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6291, allocations: 13.16 kB / 0.7182 GB, free: 9.281 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002441/0.6293, allocations: 11.67 kB / 0.7183 GB, free: 9.281 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.000709/0.6301, allocations: 0.7341 MB / 0.719 GB, free: 8.605 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003787/0.6304, allocations: 75.88 kB / 0.719 GB, free: 8.59 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.6305, allocations: 5.188 kB / 0.719 GB, free: 8.586 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001671/0.6306, allocations: 34.34 kB / 0.7191 GB, free: 8.582 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003858/0.631, allocations: 11.19 kB / 0.7191 GB, free: 8.578 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002054/0.6331, allocations: 1.417 MB / 0.7205 GB, free: 7.352 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002387/0.6333, allocations: 0.6845 MB / 0.7211 GB, free: 6.656 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.711e-05/0.6334, allocations: 10.2 kB / 0.7212 GB, free: 6.648 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.939e-05/0.6335, allocations: 20.16 kB / 0.7212 GB, free: 6.633 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.6335, allocations: 0 / 0.7212 GB, free: 6.633 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01915/0.6526, allocations: 2.027 MB / 0.7232 GB, free: 6.266 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.374/8.027, allocations: 9.125 kB / 0.7232 GB, free: 6.262 MB / 0.545 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)