Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 174.5 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8445/0.8445, allocations: 133.6 MB / 141.6 MB, free: 2.887 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 221.5 MB / 395.5 MB, free: 10.76 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009246/0.0009246, allocations: 98.97 kB / 478.2 MB, free: 1.293 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.955e-05/1.959e-05, allocations: 4 kB / 0.5535 GB, free: 8.945 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4515/0.4515, allocations: 82.3 MB / 0.6339 GB, free: 40.71 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.175/0.6266, allocations: 111 MB / 0.7424 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002569/0.6269, allocations: 75.95 kB / 0.7424 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.002864/0.6298, allocations: 0.9856 MB / 0.7434 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.372e-06/0.6298, allocations: 0 / 0.7434 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.6298, allocations: 0 / 0.7434 GB, free: 10.57 MB / 0.5261 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.000343/0.6302, allocations: 342.5 kB / 0.7437 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.6302, allocations: 8.031 kB / 0.7437 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.316e-05/0.6303, allocations: 7.906 kB / 0.7437 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.6304, allocations: 171 kB / 0.7439 GB, free: 9.969 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.6305, allocations: 0 / 0.7439 GB, free: 9.969 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.032e-05/0.6305, allocations: 0 / 0.7439 GB, free: 9.969 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.2e-05/0.6306, allocations: 15.92 kB / 0.7439 GB, free: 9.953 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.135e-05/0.6306, allocations: 33.7 kB / 0.7439 GB, free: 9.914 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.111e-06/0.6306, allocations: 0 / 0.7439 GB, free: 9.914 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.226e-06/0.6306, allocations: 0 / 0.7439 GB, free: 9.914 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.6307, allocations: 4 kB / 0.7439 GB, free: 9.91 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002893/0.6309, allocations: 229.5 kB / 0.7442 GB, free: 9.648 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 5.678e-05/0.631, allocations: 26.52 kB / 0.7442 GB, free: 9.613 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.437e-05/0.6311, allocations: 12.92 kB / 0.7442 GB, free: 9.598 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.437e-05/0.6311, allocations: 0 / 0.7442 GB, free: 9.598 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.6311, allocations: 38.56 kB / 0.7442 GB, free: 9.551 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 7.41e-07/0.6311, allocations: 0 / 0.7442 GB, free: 9.551 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0001341/0.6312, allocations: 37.7 kB / 0.7443 GB, free: 9.508 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.571e-05/0.6313, allocations: 51.41 kB / 0.7443 GB, free: 9.445 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.81e-05/0.6313, allocations: 92.98 kB / 0.7444 GB, free: 9.348 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.6314, allocations: 25.7 kB / 0.7444 GB, free: 9.316 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.335e-05/0.6314, allocations: 88.08 kB / 0.7445 GB, free: 9.227 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.485e-05/0.6314, allocations: 7.906 kB / 0.7445 GB, free: 9.219 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-06/0.6314, allocations: 4.031 kB / 0.7445 GB, free: 9.215 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.6316, allocations: 314.8 kB / 0.7448 GB, free: 8.898 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.477e-05/0.6316, allocations: 7.938 kB / 0.7448 GB, free: 8.891 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.408e-06/0.6316, allocations: 4 kB / 0.7448 GB, free: 8.887 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.063e-05/0.6316, allocations: 7.984 kB / 0.7449 GB, free: 8.879 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.6316, allocations: 3.938 kB / 0.7449 GB, free: 8.875 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.166e-05/0.6317, allocations: 41.61 kB / 0.7449 GB, free: 8.828 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.6317, allocations: 8 kB / 0.7449 GB, free: 8.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.6317, allocations: 96 / 0.7449 GB, free: 8.82 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.6317, allocations: 4 kB / 0.7449 GB, free: 8.816 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.96e-05/0.6318, allocations: 11.98 kB / 0.7449 GB, free: 8.805 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.948e-06/0.6318, allocations: 0 / 0.7449 GB, free: 8.805 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.612e-05/0.6319, allocations: 11.98 kB / 0.7449 GB, free: 8.793 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.04e-06/0.6319, allocations: 0 / 0.7449 GB, free: 8.793 MB / 0.5261 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 6.344e-05/0.632, allocations: 104.9 kB / 0.745 GB, free: 8.684 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.326e-05/0.6321, allocations: 49.64 kB / 0.7451 GB, free: 8.629 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.086e-05/0.6321, allocations: 4 kB / 0.7451 GB, free: 8.625 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001026/0.6322, allocations: 53.42 kB / 0.7451 GB, free: 8.566 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.6322, allocations: 4 kB / 0.7451 GB, free: 8.562 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.6322, allocations: 0 / 0.7451 GB, free: 8.562 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.6322, allocations: 0 / 0.7451 GB, free: 8.562 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001387/0.6324, allocations: 138.2 kB / 0.7453 GB, free: 8.391 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.6324, allocations: 240 / 0.7453 GB, free: 8.391 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.517e-05/0.6325, allocations: 16.02 kB / 0.7453 GB, free: 8.375 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.6325, allocations: 4 kB / 0.7453 GB, free: 8.371 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.6325, allocations: 3.938 kB / 0.7453 GB, free: 8.367 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.6325, allocations: 0 / 0.7453 GB, free: 8.367 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.6325, allocations: 7.922 kB / 0.7453 GB, free: 8.359 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001158/0.6326, allocations: 143.4 kB / 0.7454 GB, free: 8.203 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.147e-05/0.6327, allocations: 77.11 kB / 0.7455 GB, free: 8.109 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.6327, allocations: 4 kB / 0.7455 GB, free: 8.105 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.488e-05/0.6328, allocations: 11.98 kB / 0.7455 GB, free: 8.094 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.184e-05/0.6328, allocations: 0 / 0.7455 GB, free: 8.094 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.6328, allocations: 7.984 kB / 0.7455 GB, free: 8.086 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.506e-05/0.6329, allocations: 79.28 kB / 0.7456 GB, free: 8.008 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6329, allocations: 0 / 0.7456 GB, free: 8.008 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001987/0.6331, allocations: 8 kB / 0.7456 GB, free: 8 MB / 0.5261 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 () * 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.0003961/0.6335, allocations: 0.6773 MB / 0.7463 GB, free: 7.297 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 7.151e-05/0.6336, allocations: 12 kB / 0.7463 GB, free: 7.285 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.6336, allocations: 0 / 0.7463 GB, free: 7.285 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.297e-05/0.6336, allocations: 8 kB / 0.7463 GB, free: 7.277 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001608/0.6338, allocations: 3.938 kB / 0.7463 GB, free: 7.273 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003382/0.6341, allocations: 93.62 kB / 0.7464 GB, free: 7.145 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002466/0.6344, allocations: 0.6807 MB / 0.7471 GB, free: 6.438 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.081e-05/0.6344, allocations: 4 kB / 0.7471 GB, free: 6.434 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.604e-05/0.6345, allocations: 11.44 kB / 0.7471 GB, free: 6.422 MB / 0.5261 GB Notification: Performance of SimCode: time 2.8e-07/0.6345, allocations: 0 / 0.7471 GB, free: 6.422 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01734/0.6518, allocations: 0.779 MB / 0.7478 GB, free: 5.656 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002085/0.6521, allocations: 151 kB / 0.748 GB, free: 5.469 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.534/2.186, allocations: 0 / 0.748 GB, free: 5.469 MB / 0.5261 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)