Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.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.Functions.Examples.Density_pTX,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_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.001066/0.001066, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001099/0.001099, allocations: 192.1 kB / 16.25 MB, free: 6.633 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.507/1.507, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9418/0.9418, allocations: 135.1 MB / 425.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001345, allocations: 63.8 kB / 0.505 GB, free: 5.551 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1446, allocations: 80.93 MB / 0.584 GB, free: 4.797 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002207/0.1468, allocations: 1.331 MB / 0.5853 GB, free: 3.453 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3274/0.4742, allocations: 130.1 MB / 0.7123 GB, free: 13.6 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.855e-05/0.4742, allocations: 0 / 0.7123 GB, free: 13.6 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.011e-05/0.4743, allocations: 4.594 kB / 0.7123 GB, free: 13.6 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.62e-05/0.4744, allocations: 2.094 kB / 0.7123 GB, free: 13.6 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003152/0.4747, allocations: 52.06 kB / 0.7124 GB, free: 13.57 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.906e-05/0.4747, allocations: 28.33 kB / 0.7124 GB, free: 13.56 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.595e-05/0.4748, allocations: 5.906 kB / 0.7124 GB, free: 13.55 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.258e-05/0.4748, allocations: 6.625 kB / 0.7124 GB, free: 13.55 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.566e-05/0.4749, allocations: 11.92 kB / 0.7124 GB, free: 13.55 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.085e-05/0.4749, allocations: 0 / 0.7124 GB, free: 13.55 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.187e-05/0.475, allocations: 13.58 kB / 0.7124 GB, free: 13.55 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.177e-05/0.475, allocations: 2.719 kB / 0.7124 GB, free: 13.55 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.314e-05/0.475, allocations: 12.52 kB / 0.7124 GB, free: 13.54 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 8.935e-05/0.4751, allocations: 20.83 kB / 0.7124 GB, free: 13.54 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.4751, allocations: 0 / 0.7124 GB, free: 13.54 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.372e-06/0.4751, allocations: 4 kB / 0.7125 GB, free: 13.54 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.4751, allocations: 0 / 0.7125 GB, free: 13.54 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003191/0.4754, allocations: 334.9 kB / 0.7128 GB, free: 13.18 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.084e-05/0.4755, allocations: 13.72 kB / 0.7128 GB, free: 13.18 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.714e-05/0.4755, allocations: 35.45 kB / 0.7128 GB, free: 13.13 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.517e-05/0.4755, allocations: 6.906 kB / 0.7128 GB, free: 13.13 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.185e-05/0.4756, allocations: 165.7 kB / 0.713 GB, free: 12.93 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.701e-05/0.4757, allocations: 29.53 kB / 0.713 GB, free: 12.9 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.205e-06/0.4757, allocations: 6.438 kB / 0.713 GB, free: 12.9 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001038/0.4758, allocations: 47.52 kB / 0.7131 GB, free: 12.86 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.881e-06/0.4758, allocations: 0.7031 kB / 0.7131 GB, free: 12.86 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.136e-06/0.4759, allocations: 1.188 kB / 0.7131 GB, free: 12.86 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.269e-06/0.4759, allocations: 3.938 kB / 0.7131 GB, free: 12.85 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.649e-05/0.4759, allocations: 11.89 kB / 0.7131 GB, free: 12.85 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001226/0.4761, allocations: 156.2 kB / 0.7132 GB, free: 12.66 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.287e-05/0.4762, allocations: 38.53 kB / 0.7133 GB, free: 12.62 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.582e-05/0.4762, allocations: 16.39 kB / 0.7133 GB, free: 12.61 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001363/0.4764, allocations: 89.78 kB / 0.7134 GB, free: 12.52 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.4764, allocations: 38.47 kB / 0.7134 GB, free: 12.47 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 9.81e-07/0.4764, allocations: 0 / 0.7134 GB, free: 12.47 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.000199/0.4766, allocations: 67.67 kB / 0.7135 GB, free: 12.43 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.539e-05/0.4766, allocations: 51.41 kB / 0.7135 GB, free: 12.36 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.281e-05/0.4767, allocations: 100.4 kB / 0.7136 GB, free: 12.26 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.012e-05/0.4767, allocations: 25.7 kB / 0.7136 GB, free: 12.23 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.063e-05/0.4767, allocations: 80.14 kB / 0.7137 GB, free: 12.15 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.4768, allocations: 10.17 kB / 0.7137 GB, free: 12.14 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.083e-05/0.4768, allocations: 18.36 kB / 0.7137 GB, free: 12.12 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 7.506e-05/0.4769, allocations: 313.5 kB / 0.714 GB, free: 11.81 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.184e-05/0.4769, allocations: 9.75 kB / 0.714 GB, free: 11.8 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.522e-05/0.477, allocations: 10.12 kB / 0.7141 GB, free: 11.8 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.675e-05/0.477, allocations: 22.78 kB / 0.7141 GB, free: 11.79 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.477, allocations: 0 / 0.7141 GB, free: 11.79 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001105/0.4772, allocations: 52.48 kB / 0.7141 GB, free: 11.75 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.4772, allocations: 11.78 kB / 0.7141 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-06/0.4772, allocations: 0 / 0.7141 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.235e-06/0.4772, allocations: 0 / 0.7141 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.784e-05/0.4773, allocations: 10.94 kB / 0.7142 GB, free: 11.74 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.386e-06/0.4773, allocations: 0 / 0.7142 GB, free: 11.74 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.739e-05/0.4773, allocations: 2.141 kB / 0.7142 GB, free: 11.74 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.4773, allocations: 2 kB / 0.7142 GB, free: 11.74 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 5.255e-05/0.4774, allocations: 107.4 kB / 0.7143 GB, free: 11.63 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.598e-06/0.4774, allocations: 5.672 kB / 0.7143 GB, free: 11.62 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001421/0.4775, allocations: 66.14 kB / 0.7143 GB, free: 11.57 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.4775, allocations: 1.844 kB / 0.7143 GB, free: 11.57 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.4775, allocations: 7.938 kB / 0.7143 GB, free: 11.57 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.4776, allocations: 0.5625 kB / 0.7143 GB, free: 11.57 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.852e-05/0.4776, allocations: 153.5 kB / 0.7145 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.4776, allocations: 0 / 0.7145 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.951e-05/0.4777, allocations: 11.25 kB / 0.7145 GB, free: 11.37 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.145e-06/0.4777, allocations: 3.938 kB / 0.7145 GB, free: 11.37 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.4777, allocations: 1.469 kB / 0.7145 GB, free: 11.37 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.4777, allocations: 0 / 0.7145 GB, free: 11.37 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4777, allocations: 0.7031 kB / 0.7145 GB, free: 11.37 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001235/0.4778, allocations: 80.12 kB / 0.7146 GB, free: 11.29 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.121e-05/0.4779, allocations: 83.73 kB / 0.7147 GB, free: 11.2 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.072e-05/0.4779, allocations: 1.922 kB / 0.7147 GB, free: 11.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.849e-05/0.4779, allocations: 5.875 kB / 0.7147 GB, free: 11.19 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.746e-05/0.478, allocations: 6.531 kB / 0.7147 GB, free: 11.19 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.478, allocations: 1.094 kB / 0.7147 GB, free: 11.19 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.714e-05/0.478, allocations: 78.78 kB / 0.7147 GB, free: 11.11 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.478, allocations: 0 / 0.7147 GB, free: 11.11 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001732/0.4782, allocations: 16.52 kB / 0.7148 GB, free: 11.11 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.0003497/0.4786, allocations: 0.6168 MB / 0.7154 GB, free: 10.51 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001164/0.4787, allocations: 25.75 kB / 0.7154 GB, free: 10.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4787, allocations: 4 kB / 0.7154 GB, free: 10.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.242e-05/0.4787, allocations: 10.38 kB / 0.7154 GB, free: 10.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001978/0.4789, allocations: 10.73 kB / 0.7154 GB, free: 10.5 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000327/0.4793, allocations: 163.8 kB / 0.7156 GB, free: 10.34 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001679/0.4795, allocations: 0.677 MB / 0.7162 GB, free: 9.645 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.789e-05/0.4795, allocations: 6.312 kB / 0.7162 GB, free: 9.641 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.469e-05/0.4795, allocations: 9.344 kB / 0.7162 GB, free: 9.633 MB / 0.545 GB Notification: Performance of SimCode: time 2.51e-07/0.4795, allocations: 3.938 kB / 0.7162 GB, free: 9.629 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5848/1.064, allocations: 1.24 MB / 0.7175 GB, free: 9.426 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002001/1.065, allocations: 217.5 kB / 0.7177 GB, free: 9.164 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.155/3.22, allocations: 0 / 0.7177 GB, free: 9.164 MB / 0.545 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)