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.0008737/0.0008735, allocations: 94.03 kB / 15.06 MB, free: 1.086 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.0009947/0.0009948, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 223.2 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9805/0.9805, allocations: 135.3 MB / 426.3 MB, free: 14.14 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000329/0.000329, allocations: 12 kB / 0.5071 GB, free: 5.039 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1697, allocations: 82.31 MB / 0.5875 GB, free: 2.898 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX): time 0.001612/0.1713, allocations: 1.192 MB / 0.5886 GB, free: 1.695 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4512/0.6226, allocations: 119.6 MB / 0.7055 GB, free: 5.383 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.688e-05/0.6227, allocations: 1.781 kB / 0.7055 GB, free: 5.383 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.435e-05/0.6227, allocations: 1.359 kB / 0.7055 GB, free: 5.383 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.019e-05/0.6228, allocations: 14.91 kB / 0.7055 GB, free: 5.371 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000345/0.6232, allocations: 45.77 kB / 0.7055 GB, free: 5.352 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.825e-05/0.6233, allocations: 49.05 kB / 0.7056 GB, free: 5.328 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.6234, allocations: 11.33 kB / 0.7056 GB, free: 5.324 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.719e-05/0.6234, allocations: 19.7 kB / 0.7056 GB, free: 5.316 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.01e-05/0.6235, allocations: 19.25 kB / 0.7056 GB, free: 5.309 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.547e-05/0.6235, allocations: 2.5 kB / 0.7056 GB, free: 5.309 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.899e-05/0.6236, allocations: 15.44 kB / 0.7056 GB, free: 5.305 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.859e-05/0.6236, allocations: 11.33 kB / 0.7056 GB, free: 5.297 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.845e-05/0.6237, allocations: 32.55 kB / 0.7057 GB, free: 5.262 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001136/0.6238, allocations: 36.59 kB / 0.7057 GB, free: 5.258 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.6238, allocations: 0 / 0.7057 GB, free: 5.258 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.403e-06/0.6238, allocations: 0 / 0.7057 GB, free: 5.258 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.938e-06/0.6238, allocations: 0 / 0.7057 GB, free: 5.258 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006205/0.6245, allocations: 388.1 kB / 0.7061 GB, free: 4.891 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.6245, allocations: 10.12 kB / 0.7061 GB, free: 4.891 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.302e-05/0.6246, allocations: 40.91 kB / 0.7061 GB, free: 4.844 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.462e-05/0.6246, allocations: 3.422 kB / 0.7061 GB, free: 4.844 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.6247, allocations: 176.7 kB / 0.7063 GB, free: 4.637 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.187e-06/0.6247, allocations: 1.469 kB / 0.7063 GB, free: 4.637 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.194e-05/0.6247, allocations: 4.922 kB / 0.7063 GB, free: 4.637 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00025/0.625, allocations: 84.3 kB / 0.7064 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.625, allocations: 1.078 kB / 0.7064 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.625, allocations: 5.359 kB / 0.7064 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.625, allocations: 0 / 0.7064 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002771/0.6253, allocations: 96.59 kB / 0.7065 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004863/0.6258, allocations: 283.8 kB / 0.7068 GB, free: 4.285 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002005/0.626, allocations: 68.83 kB / 0.7068 GB, free: 4.254 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001469/0.6262, allocations: 49.64 kB / 0.7069 GB, free: 4.238 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001461/0.6263, allocations: 89.89 kB / 0.707 GB, free: 4.145 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.6264, allocations: 39.73 kB / 0.707 GB, free: 4.102 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.6264, allocations: 0 / 0.707 GB, free: 4.102 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0005566/0.6269, allocations: 169.7 kB / 0.7072 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/0.627, allocations: 53.33 kB / 0.7072 GB, free: 3.98 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.6271, allocations: 118.1 kB / 0.7073 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.6271, allocations: 25.7 kB / 0.7073 GB, free: 3.844 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.159e-05/0.6272, allocations: 87.61 kB / 0.7074 GB, free: 3.758 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.294e-05/0.6272, allocations: 18.72 kB / 0.7074 GB, free: 3.742 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-06/0.6272, allocations: 0 / 0.7074 GB, free: 3.742 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.6273, allocations: 313.9 kB / 0.7077 GB, free: 3.43 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/0.6275, allocations: 40.83 kB / 0.7078 GB, free: 3.426 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/0.6277, allocations: 45.95 kB / 0.7078 GB, free: 3.418 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001467/0.6278, allocations: 44.31 kB / 0.7079 GB, free: 3.41 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.6278, allocations: 4 kB / 0.7079 GB, free: 3.406 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003249/0.6281, allocations: 118.6 kB / 0.708 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.6282, allocations: 5.219 kB / 0.708 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.269e-06/0.6282, allocations: 1.219 kB / 0.708 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.6282, allocations: 5.172 kB / 0.708 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.6283, allocations: 24.67 kB / 0.708 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.6283, allocations: 0 / 0.708 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.162e-05/0.6284, allocations: 19.89 kB / 0.708 GB, free: 3.352 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.6284, allocations: 1.375 kB / 0.708 GB, free: 3.352 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.978e-05/0.6285, allocations: 109.3 kB / 0.7081 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.74e-05/0.6286, allocations: 6.844 kB / 0.7081 GB, free: 3.234 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003844/0.629, allocations: 132.6 kB / 0.7083 GB, free: 3.18 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.629, allocations: 8.922 kB / 0.7083 GB, free: 3.172 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.629, allocations: 0.6094 kB / 0.7083 GB, free: 3.172 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.629, allocations: 5.438 kB / 0.7083 GB, free: 3.168 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001912/0.6292, allocations: 176.6 kB / 0.7085 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.6292, allocations: 1.375 kB / 0.7085 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.417e-05/0.6293, allocations: 20.03 kB / 0.7085 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.6293, allocations: 1.344 kB / 0.7085 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.6293, allocations: 4.703 kB / 0.7085 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.6293, allocations: 0 / 0.7085 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.6293, allocations: 5.422 kB / 0.7085 GB, free: 2.957 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003632/0.6297, allocations: 222.2 kB / 0.7087 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.735e-05/0.6298, allocations: 84.19 kB / 0.7088 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.6298, allocations: 1.438 kB / 0.7088 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.6299, allocations: 20.73 kB / 0.7088 GB, free: 2.703 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.528e-05/0.63, allocations: 3.797 kB / 0.7088 GB, free: 2.703 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-06/0.63, allocations: 6.047 kB / 0.7088 GB, free: 2.699 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.78e-05/0.63, allocations: 92.5 kB / 0.7089 GB, free: 2.621 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.63, allocations: 4 kB / 0.7089 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002295/0.6303, allocations: 12.72 kB / 0.7089 GB, free: 2.617 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007083/0.631, allocations: 0.754 MB / 0.7097 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000332/0.6313, allocations: 93.73 kB / 0.7097 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.6313, allocations: 1.625 kB / 0.7097 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001532/0.6315, allocations: 52.42 kB / 0.7098 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003026/0.6318, allocations: 5.781 kB / 0.7098 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001161/0.633, allocations: 0.5814 MB / 0.7104 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002668/0.6333, allocations: 0.6868 MB / 0.711 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.968e-05/0.6333, allocations: 3.234 kB / 0.711 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.643e-05/0.6334, allocations: 19.67 kB / 0.7111 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of SimCode: time 4.3e-07/0.6334, allocations: 192 / 0.7111 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.012/0.6454, allocations: 1.707 MB / 0.7127 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001999/0.6456, allocations: 180.8 kB / 0.7129 GB, free: 416 kB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.739/2.385, allocations: 0 / 0.7129 GB, free: 416 kB / 0.5294 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) Environment - environmentSimulation: