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.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.001131/0.001131, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.0008503/0.0008503, allocations: 209.2 kB / 22.24 MB, free: 3.59 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.9884/0.9884, allocations: 230.6 MB / 256 MB, free: 9.582 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.7767/0.7767, allocations: 203.8 MB / 0.5042 GB, free: 10.44 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.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: 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.000904/0.000904, allocations: 75 kB / 0.7182 GB, free: 4.051 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5237/0.5246, allocations: 102 MB / 0.8178 GB, free: 1.039 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.001961/0.5266, allocations: 1.51 MB / 0.8192 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001025/0.5276, allocations: 0.7565 MB / 0.82 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.209e-05/0.5277, allocations: 0 / 0.82 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.362e-05/0.5277, allocations: 6.547 kB / 0.82 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.16e-05/0.5277, allocations: 14.25 kB / 0.82 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003915/0.5281, allocations: 126.4 kB / 0.8201 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.146e-05/0.5282, allocations: 55.36 kB / 0.8202 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.5283, allocations: 11.66 kB / 0.8202 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.89e-05/0.5284, allocations: 29.36 kB / 0.8202 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.655e-05/0.5284, allocations: 21.34 kB / 0.8202 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.413e-05/0.5284, allocations: 6.656 kB / 0.8202 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002506/0.5287, allocations: 157.3 kB / 0.8204 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.16e-05/0.5287, allocations: 12.61 kB / 0.8204 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.793e-05/0.5287, allocations: 18.77 kB / 0.8204 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002235/0.529, allocations: 153.8 kB / 0.8206 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.529, allocations: 4.641 kB / 0.8206 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.024e-06/0.529, allocations: 0 / 0.8206 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.529, allocations: 0 / 0.8206 GB, free: 15.27 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004512/0.5294, allocations: 330.1 kB / 0.8209 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.5295, allocations: 11.53 kB / 0.8209 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.661e-05/0.5295, allocations: 35.5 kB / 0.8209 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.832e-05/0.5295, allocations: 7.297 kB / 0.8209 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.157e-05/0.5296, allocations: 114.2 kB / 0.8211 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.5296, allocations: 3.156 kB / 0.8211 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.398e-06/0.5296, allocations: 4.062 kB / 0.8211 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002019/0.5298, allocations: 80.44 kB / 0.8211 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.5299, allocations: 7.938 kB / 0.8211 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.5299, allocations: 4 kB / 0.8211 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.5299, allocations: 0.6562 kB / 0.8211 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001643/0.53, allocations: 67.02 kB / 0.8212 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003715/0.5304, allocations: 241.3 kB / 0.8214 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001611/0.5306, allocations: 63.8 kB / 0.8215 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.536e-05/0.5307, allocations: 36.34 kB / 0.8215 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001283/0.5308, allocations: 11.7 kB / 0.8215 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.5308, allocations: 32.22 kB / 0.8216 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.322e-06/0.5308, allocations: 0 / 0.8216 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.000382/0.5312, allocations: 129.9 kB / 0.8217 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/0.5312, allocations: 59.31 kB / 0.8218 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.429e-05/0.5313, allocations: 122.1 kB / 0.8219 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.018e-05/0.5313, allocations: 25.7 kB / 0.8219 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.302e-05/0.5314, allocations: 95.78 kB / 0.822 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.829e-05/0.5314, allocations: 14.88 kB / 0.822 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.491e-05/0.5314, allocations: 12.88 kB / 0.822 GB, free: 14 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.995e-05/0.5315, allocations: 322.2 kB / 0.8223 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.834e-05/0.5316, allocations: 35.48 kB / 0.8224 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.477e-05/0.5317, allocations: 32.25 kB / 0.8224 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001505/0.5318, allocations: 70.23 kB / 0.8225 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.5318, allocations: 1.062 kB / 0.8225 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001854/0.532, allocations: 103.9 kB / 0.8226 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.532, allocations: 12.44 kB / 0.8226 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.532, allocations: 0 / 0.8226 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.532, allocations: 1.312 kB / 0.8226 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.844e-05/0.5321, allocations: 16.23 kB / 0.8226 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.5321, allocations: 3.938 kB / 0.8226 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.341e-05/0.5321, allocations: 16.83 kB / 0.8226 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.5322, allocations: 1.344 kB / 0.8226 GB, free: 13.59 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 (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 6.867e-05/0.5322, allocations: 116.4 kB / 0.8227 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.501e-05/0.5322, allocations: 7.578 kB / 0.8227 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002367/0.5325, allocations: 106.3 kB / 0.8228 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.5325, allocations: 1.25 kB / 0.8228 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.5325, allocations: 0 / 0.8228 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.5325, allocations: 4.375 kB / 0.8228 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001189/0.5326, allocations: 136.4 kB / 0.823 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.5326, allocations: 3.938 kB / 0.823 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.689e-05/0.5327, allocations: 16.89 kB / 0.823 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.5327, allocations: 0 / 0.823 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-06/0.5327, allocations: 3.984 kB / 0.823 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.5327, allocations: 1.125 kB / 0.823 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.5327, allocations: 0 / 0.823 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002123/0.5329, allocations: 199.8 kB / 0.8232 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.361e-05/0.5329, allocations: 9.078 kB / 0.8232 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.267e-05/0.5329, allocations: 1.062 kB / 0.8232 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.24e-05/0.533, allocations: 13.31 kB / 0.8232 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.162e-05/0.533, allocations: 4.328 kB / 0.8232 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.533, allocations: 1.094 kB / 0.8232 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.516e-05/0.533, allocations: 92.44 kB / 0.8233 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.1e-08/0.533, allocations: 0 / 0.8233 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002162/0.5333, allocations: 40.09 kB / 0.8233 GB, free: 12.99 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 (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.0005018/0.5338, allocations: 0.7677 MB / 0.8241 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002209/0.534, allocations: 71.59 kB / 0.8241 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.534, allocations: 0 / 0.8241 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.336e-05/0.5341, allocations: 38.73 kB / 0.8242 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000271/0.5343, allocations: 10.33 kB / 0.8242 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/0.5356, allocations: 1.431 MB / 0.8256 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.189e-05/0.5356, allocations: 67.08 kB / 0.8257 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.01e-05/0.5357, allocations: 7.734 kB / 0.8257 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.071e-05/0.5357, allocations: 18.64 kB / 0.8257 GB, free: 10.94 MB / 0.6198 GB Notification: Performance of SimCode: time 9.42e-07/0.5357, allocations: 0 / 0.8257 GB, free: 10.94 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01749/0.5532, allocations: 3.108 MB / 0.8287 GB, free: 10 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.702/7.255, allocations: 5.406 kB / 0.8287 GB, free: 9.996 MB / 0.6198 GB " [Timeout remaining time 653] (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: 10.187852383125573] Failed to read output from testmodel.py, exit status != 0: 7.332049288321286 7.341779869 6.810899659 Calling exit ...