Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.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.Phi_pTX,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX",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.001357/0.001357, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.762/0.762, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 221.3 MB / 400.4 MB, free: 5.844 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008596/0.0008599, allocations: 91.88 kB / 483.3 MB, free: 5.895 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.912e-05/3.913e-05, allocations: 3.938 kB / 0.5601 GB, free: 87.87 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1795/0.1796, allocations: 82.31 MB / 0.6405 GB, free: 7.727 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6487/0.8284, allocations: 113.2 MB / 0.7511 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001929/0.8286, allocations: 73.69 kB / 0.7512 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.007658/0.8363, allocations: 2.542 MB / 0.7536 GB, free: 27.63 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.084e-06/0.8363, allocations: 0 / 0.7536 GB, free: 27.63 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.308e-06/0.8363, allocations: 3.969 kB / 0.7536 GB, free: 27.63 MB / 0.5105 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.000502/0.8368, allocations: 403 kB / 0.754 GB, free: 27.26 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.8369, allocations: 7.688 kB / 0.754 GB, free: 27.26 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.238e-05/0.8369, allocations: 40.97 kB / 0.7541 GB, free: 27.21 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.776e-05/0.837, allocations: 0 / 0.7541 GB, free: 27.21 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/0.8371, allocations: 176.6 kB / 0.7542 GB, free: 27.01 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.8371, allocations: 3.969 kB / 0.7542 GB, free: 27.01 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.412e-05/0.8372, allocations: 4.609 kB / 0.7543 GB, free: 27.01 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.8373, allocations: 51.08 kB / 0.7543 GB, free: 26.98 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.8373, allocations: 0 / 0.7543 GB, free: 26.98 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.8373, allocations: 0 / 0.7543 GB, free: 26.98 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.8373, allocations: 3.844 kB / 0.7543 GB, free: 26.98 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.466e-05/0.8374, allocations: 22.72 kB / 0.7543 GB, free: 26.97 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003906/0.8378, allocations: 284.5 kB / 0.7546 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 7.887e-05/0.8379, allocations: 36.31 kB / 0.7546 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.068e-05/0.8379, allocations: 15.39 kB / 0.7546 GB, free: 26.67 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001668/0.8381, allocations: 91.09 kB / 0.7547 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.8381, allocations: 39.22 kB / 0.7548 GB, free: 26.53 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.8381, allocations: 0 / 0.7548 GB, free: 26.53 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0001769/0.8383, allocations: 49.8 kB / 0.7548 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.8384, allocations: 59.3 kB / 0.7549 GB, free: 26.43 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.332e-05/0.8385, allocations: 109.3 kB / 0.755 GB, free: 26.33 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.8385, allocations: 29.39 kB / 0.755 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.077e-05/0.8385, allocations: 91.7 kB / 0.7551 GB, free: 26.22 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.61e-05/0.8386, allocations: 19.59 kB / 0.7551 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.536e-06/0.8386, allocations: 0 / 0.7551 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.8387, allocations: 316.2 kB / 0.7554 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.314e-05/0.8387, allocations: 6.531 kB / 0.7554 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.181e-05/0.8388, allocations: 14.06 kB / 0.7554 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.619e-05/0.8388, allocations: 10.27 kB / 0.7554 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.8388, allocations: 0 / 0.7554 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001074/0.8389, allocations: 50.19 kB / 0.7555 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.8389, allocations: 8.875 kB / 0.7555 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.839, allocations: 3.984 kB / 0.7555 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.839, allocations: 4 kB / 0.7555 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.8391, allocations: 20.25 kB / 0.7555 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.8391, allocations: 2.109 kB / 0.7555 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.813e-05/0.8392, allocations: 27.72 kB / 0.7556 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.8392, allocations: 0 / 0.7556 GB, free: 25.84 MB / 0.5105 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 (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 6.853e-05/0.8393, allocations: 108.8 kB / 0.7557 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.457e-05/0.8393, allocations: 3.906 kB / 0.7557 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001317/0.8395, allocations: 66.14 kB / 0.7557 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.8395, allocations: 0 / 0.7557 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.8395, allocations: 0 / 0.7557 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.8395, allocations: 3.75 kB / 0.7557 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001432/0.8396, allocations: 171.5 kB / 0.7559 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.8397, allocations: 0 / 0.7559 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001013/0.8398, allocations: 25.23 kB / 0.7559 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.8398, allocations: 0 / 0.7559 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.8398, allocations: 0 / 0.7559 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.8398, allocations: 0 / 0.7559 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.8398, allocations: 0 / 0.7559 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001295/0.8399, allocations: 163.3 kB / 0.7561 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.427e-05/0.84, allocations: 77.11 kB / 0.7561 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.84, allocations: 4 kB / 0.7562 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.8401, allocations: 17.34 kB / 0.7562 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.696e-05/0.8402, allocations: 10.17 kB / 0.7562 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.209e-06/0.8402, allocations: 3.938 kB / 0.7562 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.868e-05/0.8403, allocations: 93.31 kB / 0.7563 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8403, allocations: 0 / 0.7563 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000265/0.8405, allocations: 37.53 kB / 0.7563 GB, free: 25.16 MB / 0.5105 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.0004904/0.841, allocations: 0.7213 MB / 0.757 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 9.287e-05/0.8411, allocations: 28.38 kB / 0.757 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.8411, allocations: 0 / 0.757 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.984e-05/0.8412, allocations: 14.88 kB / 0.7571 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001764/0.8414, allocations: 17.5 kB / 0.7571 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003593/0.8417, allocations: 124.4 kB / 0.7572 GB, free: 24.35 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002409/0.842, allocations: 0.6854 MB / 0.7579 GB, free: 23.66 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 4.144e-05/0.842, allocations: 2.406 kB / 0.7579 GB, free: 23.66 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.068e-05/0.8421, allocations: 18.53 kB / 0.7579 GB, free: 23.65 MB / 0.5105 GB Notification: Performance of SimCode: time 5.31e-07/0.8421, allocations: 0 / 0.7579 GB, free: 23.65 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01442/0.8565, allocations: 2.005 MB / 0.7598 GB, free: 23.21 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001538/0.8567, allocations: 145.9 kB / 0.76 GB, free: 22.99 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.575/2.432, allocations: 4 kB / 0.76 GB, free: 22.98 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)