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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001727/0.001727, allocations: 110.1 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001883/0.001883, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.09/1.09, allocations: 175.8 MB / 478.4 MB, free: 8.453 MB / 382.1 MB " [Timeout remaining time 178] 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.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002023/0.002023, allocations: 64.34 kB / 0.6652 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2013/0.2033, allocations: 94.55 MB / 0.7575 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002891/0.2062, allocations: 1.495 MB / 0.759 GB, free: 408 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4243/0.6306, allocations: 0.8117 MB / 0.7598 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.379e-05/0.6306, allocations: 4.406 kB / 0.7598 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 4.507e-05/0.6307, allocations: 3.75 kB / 0.7598 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.75e-05/0.6307, allocations: 8.938 kB / 0.7598 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006525/0.6314, allocations: 133.9 kB / 0.7599 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001338/0.6315, allocations: 48.72 kB / 0.7599 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.6317, allocations: 15.98 kB / 0.76 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 7.658e-05/0.6317, allocations: 22.86 kB / 0.76 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.11e-05/0.6318, allocations: 22.64 kB / 0.76 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.964e-05/0.6318, allocations: 5.531 kB / 0.76 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004528/0.6323, allocations: 172.4 kB / 0.7602 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.899e-05/0.6323, allocations: 12.92 kB / 0.7602 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.527e-05/0.6323, allocations: 25.91 kB / 0.7602 GB, free: 7.969 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003057/0.6326, allocations: 145.1 kB / 0.7604 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.6327, allocations: 2.078 kB / 0.7604 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.643e-06/0.6327, allocations: 0 / 0.7604 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.6327, allocations: 0 / 0.7604 GB, free: 7.961 MB / 0.5762 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.0005249/0.6332, allocations: 405.3 kB / 0.7607 GB, free: 7.57 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.6332, allocations: 8.938 kB / 0.7607 GB, free: 7.57 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.642e-05/0.6333, allocations: 35.19 kB / 0.7608 GB, free: 7.531 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.874e-05/0.6333, allocations: 9.719 kB / 0.7608 GB, free: 7.527 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.225e-05/0.6334, allocations: 170.9 kB / 0.761 GB, free: 7.328 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.6334, allocations: 6.375 kB / 0.761 GB, free: 7.328 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.143e-05/0.6334, allocations: 3.25 kB / 0.761 GB, free: 7.328 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002492/0.6336, allocations: 76.05 kB / 0.761 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.6337, allocations: 5.781 kB / 0.761 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.6337, allocations: 0.9062 kB / 0.761 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.6337, allocations: 0.9062 kB / 0.761 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003155/0.634, allocations: 70.06 kB / 0.7611 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003425/0.6343, allocations: 291.2 kB / 0.7614 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002059/0.6345, allocations: 51.22 kB / 0.7614 GB, free: 6.996 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001526/0.6347, allocations: 40.84 kB / 0.7615 GB, free: 6.988 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001803/0.6349, allocations: 92.3 kB / 0.7616 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.6349, allocations: 35.34 kB / 0.7616 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.332e-06/0.6349, allocations: 0.5938 kB / 0.7616 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0005747/0.6355, allocations: 129.5 kB / 0.7617 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.6355, allocations: 52.56 kB / 0.7618 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.565e-05/0.6356, allocations: 118.9 kB / 0.7619 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.957e-06/0.6356, allocations: 25.7 kB / 0.7619 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.306e-05/0.6356, allocations: 89.5 kB / 0.762 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.002e-05/0.6356, allocations: 13.2 kB / 0.762 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.049e-05/0.6357, allocations: 16.97 kB / 0.762 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.715e-05/0.6357, allocations: 321.6 kB / 0.7623 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/0.6359, allocations: 33.5 kB / 0.7624 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.636, allocations: 30.47 kB / 0.7624 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000267/0.6363, allocations: 75.17 kB / 0.7625 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.6363, allocations: 0.625 kB / 0.7625 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003109/0.6366, allocations: 100.1 kB / 0.7626 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.6366, allocations: 6.281 kB / 0.7626 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.6366, allocations: 7.938 kB / 0.7626 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.6366, allocations: 0.7969 kB / 0.7626 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.6368, allocations: 16.77 kB / 0.7626 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.6368, allocations: 1.438 kB / 0.7626 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.136e-05/0.6368, allocations: 19.42 kB / 0.7626 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.545e-06/0.6369, allocations: 0.9062 kB / 0.7626 GB, free: 6.148 MB / 0.5762 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.214e-05/0.6369, allocations: 119.7 kB / 0.7627 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.791e-05/0.6369, allocations: 6.891 kB / 0.7627 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003467/0.6373, allocations: 110.7 kB / 0.7628 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.6373, allocations: 1.156 kB / 0.7628 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.6373, allocations: 0 / 0.7628 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.6373, allocations: 0.6094 kB / 0.7628 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001477/0.6374, allocations: 172.6 kB / 0.763 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.6374, allocations: 1.328 kB / 0.763 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.665e-05/0.6375, allocations: 19.33 kB / 0.763 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.6375, allocations: 2.031 kB / 0.763 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.6376, allocations: 0.5156 kB / 0.763 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.6376, allocations: 2.125 kB / 0.763 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.6376, allocations: 0.7031 kB / 0.763 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003373/0.6379, allocations: 208.1 kB / 0.7632 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.696e-05/0.6379, allocations: 82.86 kB / 0.7633 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.6379, allocations: 1.875 kB / 0.7633 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.638, allocations: 12.11 kB / 0.7633 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.193e-05/0.6381, allocations: 5.906 kB / 0.7633 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-06/0.6381, allocations: 1.219 kB / 0.7633 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.353e-05/0.6381, allocations: 93.61 kB / 0.7634 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.1e-08/0.6381, allocations: 0 / 0.7634 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003051/0.6385, allocations: 37.78 kB / 0.7634 GB, free: 5.461 MB / 0.5762 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.000617/0.6391, allocations: 0.7622 MB / 0.7642 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003535/0.6394, allocations: 69.42 kB / 0.7643 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.6394, allocations: 0 / 0.7643 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001489/0.6396, allocations: 38.62 kB / 0.7643 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003141/0.6399, allocations: 20.56 kB / 0.7643 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001829/0.6417, allocations: 1.423 MB / 0.7657 GB, free: 19.61 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.642, allocations: 0.69 MB / 0.7664 GB, free: 18.91 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.875e-05/0.6421, allocations: 4.125 kB / 0.7664 GB, free: 18.91 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.949e-05/0.6421, allocations: 18.25 kB / 0.7664 GB, free: 18.9 MB / 0.5919 GB Notification: Performance of SimCode: time 4.11e-07/0.6421, allocations: 0 / 0.7664 GB, free: 18.9 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02469/0.6668, allocations: 2.448 MB / 0.7688 GB, free: 18.49 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.054/8.72, allocations: 18.41 kB / 0.7688 GB, free: 18.48 MB / 0.5919 GB " [Timeout remaining time 651] (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/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.66629279172048] Failed to read output from testmodel.py, exit status != 0: 8.788484735880047 8.802126315 8.166630196 Calling exit ...