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.001026/0.001026, allocations: 91.3 kB / 15.36 MB, free: 0.7344 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.007906/0.007906, allocations: 171.6 kB / 16.26 MB, free: 6.68 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.425/1.425, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8108/0.8108, allocations: 132.3 MB / 423.8 MB, free: 1.984 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003167/0.0003167, allocations: 8 kB / 0.5041 GB, free: 3.812 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4781/0.4785, allocations: 81.58 MB / 0.5837 GB, free: 4.113 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX): time 0.00168/0.4802, allocations: 1.218 MB / 0.5849 GB, free: 3.227 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1451/0.6253, allocations: 128.5 MB / 0.7105 GB, free: 14.23 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.881e-05/0.6254, allocations: 4 kB / 0.7105 GB, free: 14.23 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.262e-05/0.6254, allocations: 0 / 0.7105 GB, free: 14.23 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.601e-05/0.6255, allocations: 7.938 kB / 0.7105 GB, free: 14.22 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003401/0.6258, allocations: 62 kB / 0.7105 GB, free: 14.17 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.585e-05/0.6259, allocations: 51.78 kB / 0.7106 GB, free: 14.12 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.713e-05/0.626, allocations: 15.98 kB / 0.7106 GB, free: 14.1 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.482e-05/0.6261, allocations: 19.92 kB / 0.7106 GB, free: 14.08 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.485e-05/0.6262, allocations: 19.92 kB / 0.7106 GB, free: 14.06 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.6262, allocations: 4 kB / 0.7106 GB, free: 14.06 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.311e-05/0.6263, allocations: 12 kB / 0.7107 GB, free: 14.05 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.448e-05/0.6263, allocations: 7.922 kB / 0.7107 GB, free: 14.04 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.293e-05/0.6263, allocations: 45.56 kB / 0.7107 GB, free: 13.99 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001168/0.6265, allocations: 59.8 kB / 0.7108 GB, free: 13.93 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.6265, allocations: 0 / 0.7108 GB, free: 13.93 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6265, allocations: 0 / 0.7108 GB, free: 13.93 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.6265, allocations: 0 / 0.7108 GB, free: 13.93 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.0004802/0.627, allocations: 381 kB / 0.7111 GB, free: 13.51 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.627, allocations: 12.02 kB / 0.7111 GB, free: 13.5 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.434e-05/0.6271, allocations: 34.75 kB / 0.7112 GB, free: 13.45 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.543e-05/0.6271, allocations: 4.938 kB / 0.7112 GB, free: 13.45 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.6272, allocations: 176.2 kB / 0.7113 GB, free: 13.24 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.6272, allocations: 384 / 0.7113 GB, free: 13.24 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.034e-05/0.6272, allocations: 8.375 kB / 0.7113 GB, free: 13.23 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002733/0.6275, allocations: 82.2 kB / 0.7114 GB, free: 13.14 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.6275, allocations: 3.938 kB / 0.7114 GB, free: 13.14 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.6275, allocations: 4 kB / 0.7114 GB, free: 13.14 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.6276, allocations: 0 / 0.7114 GB, free: 13.14 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000339/0.6279, allocations: 91.92 kB / 0.7115 GB, free: 13.05 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003885/0.6283, allocations: 292.6 kB / 0.7118 GB, free: 12.71 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002208/0.6285, allocations: 66.55 kB / 0.7119 GB, free: 12.64 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001645/0.6287, allocations: 56.84 kB / 0.7119 GB, free: 12.58 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001622/0.6289, allocations: 89.09 kB / 0.712 GB, free: 12.47 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.6289, allocations: 34.56 kB / 0.712 GB, free: 12.43 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.6289, allocations: 3.938 kB / 0.712 GB, free: 12.43 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0005744/0.6295, allocations: 165.7 kB / 0.7122 GB, free: 12.26 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/0.6295, allocations: 55.39 kB / 0.7123 GB, free: 12.19 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.913e-05/0.6297, allocations: 117.8 kB / 0.7124 GB, free: 12.07 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.6297, allocations: 33.7 kB / 0.7124 GB, free: 12.03 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.75e-05/0.6297, allocations: 88.05 kB / 0.7125 GB, free: 11.94 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.702e-05/0.6298, allocations: 3.906 kB / 0.7125 GB, free: 11.93 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.376e-05/0.6298, allocations: 17.7 kB / 0.7125 GB, free: 11.91 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.6299, allocations: 318.8 kB / 0.7128 GB, free: 11.59 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001551/0.6301, allocations: 43.97 kB / 0.7128 GB, free: 11.55 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001447/0.6302, allocations: 43.95 kB / 0.7129 GB, free: 11.5 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000304/0.6305, allocations: 92.72 kB / 0.713 GB, free: 11.41 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.6305, allocations: 0 / 0.713 GB, free: 11.41 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003352/0.6309, allocations: 117.6 kB / 0.7131 GB, free: 11.29 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.6309, allocations: 12 kB / 0.7131 GB, free: 11.28 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.6309, allocations: 0 / 0.7131 GB, free: 11.28 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.6309, allocations: 0 / 0.7131 GB, free: 11.28 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.631, allocations: 19.98 kB / 0.7131 GB, free: 11.26 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.6311, allocations: 0 / 0.7131 GB, free: 11.26 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001012/0.6312, allocations: 27.81 kB / 0.7131 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.6312, allocations: 4 kB / 0.7131 GB, free: 11.23 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.718e-05/0.6313, allocations: 117.8 kB / 0.7133 GB, free: 11.1 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.349e-05/0.6313, allocations: 0 / 0.7133 GB, free: 11.1 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003841/0.6317, allocations: 133.5 kB / 0.7134 GB, free: 10.96 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.6317, allocations: 0 / 0.7134 GB, free: 10.96 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.6317, allocations: 0 / 0.7134 GB, free: 10.96 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.6317, allocations: 4 kB / 0.7134 GB, free: 10.96 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001967/0.6319, allocations: 177.6 kB / 0.7136 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.6319, allocations: 3.938 kB / 0.7136 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.722e-05/0.632, allocations: 23.98 kB / 0.7136 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.632, allocations: 0 / 0.7136 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.084e-06/0.632, allocations: 0 / 0.7136 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.632, allocations: 0 / 0.7136 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.6321, allocations: 0 / 0.7136 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003858/0.6324, allocations: 231.2 kB / 0.7138 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.406e-05/0.6325, allocations: 77.11 kB / 0.7139 GB, free: 10.37 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.307e-05/0.6325, allocations: 4 kB / 0.7139 GB, free: 10.37 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.6326, allocations: 15.98 kB / 0.7139 GB, free: 10.35 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.311e-05/0.6327, allocations: 7.984 kB / 0.7139 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-06/0.6327, allocations: 3.938 kB / 0.7139 GB, free: 10.34 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.281e-05/0.6327, allocations: 94.66 kB / 0.714 GB, free: 10.25 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6328, allocations: 0 / 0.714 GB, free: 10.25 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002225/0.633, allocations: 19.91 kB / 0.714 GB, free: 10.23 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.0007002/0.6337, allocations: 0.7631 MB / 0.7148 GB, free: 9.438 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003702/0.6341, allocations: 92.25 kB / 0.7149 GB, free: 9.348 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.6341, allocations: 0 / 0.7149 GB, free: 9.348 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001583/0.6342, allocations: 44.06 kB / 0.7149 GB, free: 9.305 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003038/0.6346, allocations: 23.16 kB / 0.7149 GB, free: 9.285 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00181/0.6364, allocations: 1.501 MB / 0.7164 GB, free: 7.707 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002419/0.6366, allocations: 0.6809 MB / 0.7171 GB, free: 7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.712e-05/0.6367, allocations: 11.97 kB / 0.7171 GB, free: 6.988 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.01e-05/0.6367, allocations: 11.44 kB / 0.7171 GB, free: 6.977 MB / 0.545 GB Notification: Performance of SimCode: time 3.3e-07/0.6367, allocations: 4 kB / 0.7171 GB, free: 6.973 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01087/0.6476, allocations: 1.707 MB / 0.7187 GB, free: 5.414 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002208/0.6478, allocations: 197.8 kB / 0.7189 GB, free: 5.156 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.839/2.487, allocations: 0 / 0.7189 GB, free: 5.156 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)