Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.001099/0.001099, 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.00133/0.00133, allocations: 218.3 kB / 22.25 MB, free: 3.699 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 0.9711/0.9711, allocations: 230.6 MB / 256 MB, free: 9.816 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.8099/0.8099, allocations: 203.8 MB / 0.5042 GB, free: 10.75 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.Functions.Examples.phi_pTX,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX",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.0009985/0.0009985, allocations: 67.94 kB / 0.7182 GB, free: 4.371 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5066/0.5076, allocations: 102 MB / 0.8179 GB, free: 1.27 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001694/0.5093, allocations: 1.31 MB / 0.8191 GB, free: 356 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001056/0.5103, allocations: 0.8467 MB / 0.82 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.774e-05/0.5104, allocations: 3.938 kB / 0.82 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.016e-05/0.5104, allocations: 4.734 kB / 0.82 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.37e-05/0.5104, allocations: 4.734 kB / 0.82 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004734/0.5109, allocations: 130.6 kB / 0.8201 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.196e-05/0.511, allocations: 28.94 kB / 0.8201 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.433e-05/0.511, allocations: 2.156 kB / 0.8201 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.985e-05/0.5111, allocations: 12.98 kB / 0.8201 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.957e-05/0.5111, allocations: 17.97 kB / 0.8202 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.107e-05/0.5112, allocations: 0 / 0.8202 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002506/0.5114, allocations: 168.8 kB / 0.8203 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.509e-05/0.5114, allocations: 8.078 kB / 0.8203 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.325e-05/0.5114, allocations: 12.78 kB / 0.8203 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001978/0.5116, allocations: 121.2 kB / 0.8204 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.5116, allocations: 1.281 kB / 0.8205 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.283e-06/0.5116, allocations: 0 / 0.8205 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.5117, allocations: 0 / 0.8205 GB, free: 15.58 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003745/0.512, allocations: 292.2 kB / 0.8207 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.5121, allocations: 6.781 kB / 0.8207 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.915e-05/0.5121, allocations: 33.94 kB / 0.8208 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.566e-05/0.5121, allocations: 6.203 kB / 0.8208 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.182e-05/0.5122, allocations: 110.1 kB / 0.8209 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.163e-05/0.5123, allocations: 55.5 kB / 0.8209 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.889e-06/0.5123, allocations: 1.625 kB / 0.8209 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001202/0.5124, allocations: 53.03 kB / 0.821 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.5124, allocations: 4 kB / 0.821 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.5124, allocations: 0 / 0.821 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.5124, allocations: 1.344 kB / 0.821 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.677e-05/0.5125, allocations: 17.53 kB / 0.821 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001225/0.5126, allocations: 133.2 kB / 0.8211 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001669/0.5128, allocations: 42.81 kB / 0.8212 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.265e-05/0.5128, allocations: 15.45 kB / 0.8212 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001585/0.513, allocations: 30.83 kB / 0.8212 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.513, allocations: 39.14 kB / 0.8213 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.513, allocations: 0 / 0.8213 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0001807/0.5132, allocations: 70.73 kB / 0.8213 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.75e-05/0.5132, allocations: 51.97 kB / 0.8214 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.693e-05/0.5133, allocations: 97.62 kB / 0.8215 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.02e-05/0.5133, allocations: 25.7 kB / 0.8215 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.117e-05/0.5133, allocations: 88.55 kB / 0.8216 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.357e-05/0.5133, allocations: 16.53 kB / 0.8216 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.458e-05/0.5133, allocations: 18.5 kB / 0.8216 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.81e-05/0.5134, allocations: 311.6 kB / 0.8219 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.783e-05/0.5134, allocations: 9.344 kB / 0.8219 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.394e-05/0.5135, allocations: 16.11 kB / 0.8219 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.71e-05/0.5135, allocations: 27.78 kB / 0.822 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.5135, allocations: 0 / 0.822 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.845e-05/0.5136, allocations: 58.78 kB / 0.822 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.5136, allocations: 10.27 kB / 0.822 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.5136, allocations: 0 / 0.822 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.5136, allocations: 0.875 kB / 0.822 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.644e-05/0.5137, allocations: 11.34 kB / 0.822 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.5137, allocations: 0.5156 kB / 0.822 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.562e-05/0.5137, allocations: 8.797 kB / 0.822 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.098e-06/0.5137, allocations: 0 / 0.822 GB, free: 14.01 MB / 0.6198 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 (4): * Single equations (assignments): 4 * 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.383e-05/0.5137, allocations: 117.6 kB / 0.8222 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.384e-06/0.5138, allocations: 11.91 kB / 0.8222 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001125/0.5139, allocations: 61.86 kB / 0.8222 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.5139, allocations: 0 / 0.8222 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.5139, allocations: 3.688 kB / 0.8222 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.5139, allocations: 0.5156 kB / 0.8222 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.094e-05/0.514, allocations: 129.1 kB / 0.8224 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.514, allocations: 0.5625 kB / 0.8224 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.14e-05/0.514, allocations: 7.078 kB / 0.8224 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.514, allocations: 4.5 kB / 0.8224 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-06/0.514, allocations: 7.469 kB / 0.8224 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.514, allocations: 0.6094 kB / 0.8224 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.71e-07/0.514, allocations: 0 / 0.8224 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.587e-05/0.5141, allocations: 91.62 kB / 0.8225 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.427e-05/0.5141, allocations: 10.33 kB / 0.8225 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.528e-06/0.5141, allocations: 2.953 kB / 0.8225 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.347e-05/0.5141, allocations: 1.125 kB / 0.8225 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.41e-05/0.5142, allocations: 4.844 kB / 0.8225 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.5142, allocations: 1.531 kB / 0.8225 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.504e-05/0.5142, allocations: 82.28 kB / 0.8226 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5142, allocations: 0 / 0.8226 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001706/0.5144, allocations: 42.42 kB / 0.8226 GB, free: 13.48 MB / 0.6198 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 (4): * Single equations (assignments): 4 * 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.0003776/0.5148, allocations: 0.6666 MB / 0.8232 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001007/0.5149, allocations: 22.42 kB / 0.8233 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.5149, allocations: 0 / 0.8233 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.44e-05/0.5149, allocations: 23.05 kB / 0.8233 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001747/0.5151, allocations: 6.984 kB / 0.8233 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003281/0.5154, allocations: 168.5 kB / 0.8235 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004415/0.5158, allocations: 0.6773 MB / 0.8241 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.202e-05/0.5159, allocations: 14.84 kB / 0.8241 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.007e-05/0.5159, allocations: 11.91 kB / 0.8241 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of SimCode: time 5.81e-07/0.5159, allocations: 3.938 kB / 0.8242 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01608/0.532, allocations: 2.105 MB / 0.8262 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.538/7.07, allocations: 6.75 kB / 0.8262 GB, free: 11.48 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.994891540845856] Failed to read output from testmodel.py, exit status != 0: 7.147575527895242 7.1600921810000004 6.646252838 Calling exit ...