Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007615/0.0007615, allocations: 109.9 kB / 18.93 MB, free: 1.27 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008019/0.0008019, allocations: 222.3 kB / 22.26 MB, free: 3.688 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.011/1.011, allocations: 230.6 MB / 256 MB, free: 9.812 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8266/0.8266, allocations: 203.8 MB / 0.5042 GB, free: 10.8 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009189/0.0009189, allocations: 67.42 kB / 0.7182 GB, free: 4.391 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5582/0.5591, allocations: 102 MB / 0.8178 GB, free: 1.285 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002475/0.5615, allocations: 1.686 MB / 0.8195 GB, free: 112 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1421/0.7037, allocations: 154.9 MB / 0.9708 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001321/0.7038, allocations: 0 / 0.9708 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001908/0.704, allocations: 23.8 kB / 0.9708 GB, free: 8.863 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002896/0.7043, allocations: 43.7 kB / 0.9709 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002917/0.7046, allocations: 147.4 kB / 0.971 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001688/0.7047, allocations: 123.6 kB / 0.9711 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.7049, allocations: 25.56 kB / 0.9711 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007961/0.7057, allocations: 183.3 kB / 0.9713 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.258e-05/0.7057, allocations: 47.77 kB / 0.9714 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.59e-05/0.7057, allocations: 8 kB / 0.9714 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002685/0.706, allocations: 183.7 kB / 0.9715 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.859e-05/0.706, allocations: 23.86 kB / 0.9716 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.637e-05/0.7061, allocations: 51.73 kB / 0.9716 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002589/0.7063, allocations: 185.7 kB / 0.9718 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.7063, allocations: 0 / 0.9718 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.402e-06/0.7063, allocations: 3.938 kB / 0.9718 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.7063, allocations: 4 kB / 0.9718 GB, free: 7.875 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0004678/0.7068, allocations: 369.5 kB / 0.9721 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.7069, allocations: 8.031 kB / 0.9722 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.464e-05/0.7069, allocations: 42.73 kB / 0.9722 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005179/0.7074, allocations: 83.8 kB / 0.9723 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001873/0.7076, allocations: 153 kB / 0.9724 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.7076, allocations: 8 kB / 0.9724 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.863e-05/0.7076, allocations: 8 kB / 0.9724 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002506/0.7079, allocations: 137.5 kB / 0.9726 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.7079, allocations: 0 / 0.9726 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.7079, allocations: 7.875 kB / 0.9726 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.7079, allocations: 0 / 0.9726 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002696/0.7082, allocations: 147.7 kB / 0.9727 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004875/0.7087, allocations: 379.7 kB / 0.9731 GB, free: 6.445 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003532/0.709, allocations: 166.6 kB / 0.9732 GB, free: 6.273 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001248/0.7091, allocations: 76.8 kB / 0.9733 GB, free: 6.195 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.7092, allocations: 8 kB / 0.9733 GB, free: 6.188 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.786e-05/0.7092, allocations: 30.56 kB / 0.9733 GB, free: 6.148 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.453e-06/0.7092, allocations: 0 / 0.9733 GB, free: 6.148 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0004204/0.7096, allocations: 221.4 kB / 0.9736 GB, free: 5.926 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.632e-05/0.7096, allocations: 51.41 kB / 0.9736 GB, free: 5.863 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.707e-05/0.7097, allocations: 150.5 kB / 0.9738 GB, free: 5.703 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.7097, allocations: 25.7 kB / 0.9738 GB, free: 5.672 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.454e-05/0.7098, allocations: 100.1 kB / 0.9739 GB, free: 5.57 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.523e-05/0.7098, allocations: 31.69 kB / 0.9739 GB, free: 5.539 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.716e-05/0.7098, allocations: 25.7 kB / 0.9739 GB, free: 5.508 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.776e-05/0.7099, allocations: 330.8 kB / 0.9742 GB, free: 5.176 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.71, allocations: 51.95 kB / 0.9743 GB, free: 5.125 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001234/0.7101, allocations: 74.52 kB / 0.9744 GB, free: 5.043 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002057/0.7103, allocations: 120.8 kB / 0.9745 GB, free: 4.922 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.7104, allocations: 0 / 0.9745 GB, free: 4.922 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002453/0.7106, allocations: 165.5 kB / 0.9746 GB, free: 4.754 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.7106, allocations: 7.984 kB / 0.9746 GB, free: 4.746 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.7106, allocations: 0 / 0.9746 GB, free: 4.746 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.7106, allocations: 0 / 0.9746 GB, free: 4.746 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.7107, allocations: 27.97 kB / 0.9747 GB, free: 4.719 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.7107, allocations: 0 / 0.9747 GB, free: 4.719 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.051e-05/0.7108, allocations: 19.94 kB / 0.9747 GB, free: 4.699 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.7108, allocations: 11.92 kB / 0.9747 GB, free: 4.688 MB / 0.7448 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 (8): * Single equations (assignments): 8 * 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 6.218e-05/0.7109, allocations: 117.8 kB / 0.9748 GB, free: 4.562 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.867e-05/0.7109, allocations: 11.89 kB / 0.9748 GB, free: 4.551 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.174e-05/0.7109, allocations: 17.27 kB / 0.9748 GB, free: 4.535 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.7109, allocations: 3.984 kB / 0.9748 GB, free: 4.531 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.7109, allocations: 4 kB / 0.9748 GB, free: 4.527 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.7109, allocations: 7.984 kB / 0.9749 GB, free: 4.52 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004642/0.7114, allocations: 437.3 kB / 0.9753 GB, free: 4.043 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.7114, allocations: 0 / 0.9753 GB, free: 4.043 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.787e-05/0.7115, allocations: 27.97 kB / 0.9753 GB, free: 4.016 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.7115, allocations: 7.984 kB / 0.9753 GB, free: 4.008 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.7115, allocations: 0 / 0.9753 GB, free: 4.008 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.7115, allocations: 3.938 kB / 0.9753 GB, free: 4.004 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.7115, allocations: 0 / 0.9753 GB, free: 4.004 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002653/0.7118, allocations: 263.3 kB / 0.9756 GB, free: 3.73 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.798e-06/0.7118, allocations: 7.953 kB / 0.9756 GB, free: 3.723 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.7118, allocations: 4 kB / 0.9756 GB, free: 3.719 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.368e-05/0.7119, allocations: 19.91 kB / 0.9756 GB, free: 3.699 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.739e-05/0.7119, allocations: 4 kB / 0.9756 GB, free: 3.695 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-06/0.7119, allocations: 11.98 kB / 0.9756 GB, free: 3.684 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.842e-05/0.712, allocations: 115.9 kB / 0.9757 GB, free: 3.57 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.712, allocations: 0 / 0.9757 GB, free: 3.57 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001726/0.7121, allocations: 35.88 kB / 0.9758 GB, free: 3.535 MB / 0.7448 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 (8): * Single equations (assignments): 8 * 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.000493/0.7126, allocations: 0.7982 MB / 0.9765 GB, free: 2.711 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000262/0.7129, allocations: 123.9 kB / 0.9766 GB, free: 2.59 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.7129, allocations: 0 / 0.9766 GB, free: 2.59 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001153/0.713, allocations: 71.81 kB / 0.9767 GB, free: 2.52 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002311/0.7132, allocations: 25.89 kB / 0.9767 GB, free: 2.496 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001543/0.7148, allocations: 1.747 MB / 0.9784 GB, free: 0.6641 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001857/0.715, allocations: 0.7041 MB / 0.9791 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 8.653e-05/0.715, allocations: 28.41 kB / 0.9792 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.584e-05/0.7151, allocations: 31.42 kB / 0.9792 GB, free: 15.88 MB / 0.7605 GB Notification: Performance of SimCode: time 4.71e-07/0.7151, allocations: 0 / 0.9792 GB, free: 15.88 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01567/0.7308, allocations: 3.523 MB / 0.9826 GB, free: 12.48 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.554/7.285, allocations: 2.891 kB / 0.9826 GB, free: 12.48 MB / 0.7605 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.359918290982023] Failed to read output from testmodel.py, exit status != 0: 7.367905815131962 7.378460247 6.669476868 Calling exit ...