Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001406/0.001406, allocations: 97.88 kB / 19.73 MB, free: 2.117 MB / 14.72 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.001496/0.001496, allocations: 215.4 kB / 23.03 MB, free: 4.922 MB / 14.72 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.468/1.468, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8587/0.8587, allocations: 134 MB / 447.2 MB, free: 9.938 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="cs",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.003152/0.003152, allocations: 62.38 kB / 0.6192 GB, free: 6.887 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2619/0.2651, allocations: 85.91 MB / 0.7031 GB, free: 1.07 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.003153/0.2682, allocations: 1.278 MB / 0.7044 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001362/0.2696, allocations: 0.7757 MB / 0.7052 GB, free: 15 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.067e-05/0.2696, allocations: 0 / 0.7052 GB, free: 15 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.51e-05/0.2696, allocations: 4 kB / 0.7052 GB, free: 15 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.244e-05/0.2696, allocations: 3.938 kB / 0.7052 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005075/0.2702, allocations: 135.4 kB / 0.7053 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.313e-05/0.2702, allocations: 23.92 kB / 0.7053 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.709e-05/0.2703, allocations: 3.984 kB / 0.7053 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.871e-05/0.2703, allocations: 11.94 kB / 0.7053 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.892e-05/0.2704, allocations: 15.97 kB / 0.7053 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.205e-05/0.2704, allocations: 4 kB / 0.7053 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003219/0.2707, allocations: 163.7 kB / 0.7055 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.888e-05/0.2707, allocations: 3.984 kB / 0.7055 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.84e-05/0.2707, allocations: 15.92 kB / 0.7055 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002512/0.271, allocations: 115.9 kB / 0.7056 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.271, allocations: 0 / 0.7056 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.723e-06/0.271, allocations: 0 / 0.7056 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.271, allocations: 0 / 0.7056 GB, free: 14.51 MB / 0.5294 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.0004563/0.2715, allocations: 286.1 kB / 0.7059 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.2715, allocations: 12.03 kB / 0.7059 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.607e-05/0.2715, allocations: 4.188 kB / 0.7059 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.978e-05/0.2715, allocations: 30.75 kB / 0.7059 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.707e-05/0.2716, allocations: 12.88 kB / 0.706 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.2717, allocations: 114.4 kB / 0.7061 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.008e-05/0.2718, allocations: 63.95 kB / 0.7061 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.345e-06/0.2718, allocations: 4.312 kB / 0.7061 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.272, allocations: 79.45 kB / 0.7062 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.272, allocations: 0 / 0.7062 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.272, allocations: 0 / 0.7062 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.272, allocations: 4 kB / 0.7062 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/0.2721, allocations: 19.98 kB / 0.7062 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001633/0.2722, allocations: 128.8 kB / 0.7064 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002156/0.2725, allocations: 46.5 kB / 0.7064 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.742e-05/0.2725, allocations: 12.95 kB / 0.7064 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002264/0.2727, allocations: 23.97 kB / 0.7064 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.2728, allocations: 42.48 kB / 0.7065 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.2728, allocations: 0 / 0.7065 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0002427/0.273, allocations: 65.69 kB / 0.7065 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/0.2731, allocations: 55.39 kB / 0.7066 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.443e-05/0.2731, allocations: 97.86 kB / 0.7067 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.2732, allocations: 25.7 kB / 0.7067 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.901e-05/0.2732, allocations: 84.08 kB / 0.7068 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.481e-05/0.2732, allocations: 11.91 kB / 0.7068 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-05/0.2733, allocations: 17.7 kB / 0.7068 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.2734, allocations: 318.8 kB / 0.7071 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.858e-05/0.2734, allocations: 4 kB / 0.7071 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.26e-05/0.2735, allocations: 15.98 kB / 0.7071 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.348e-05/0.2736, allocations: 28.84 kB / 0.7072 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.2736, allocations: 0 / 0.7072 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001469/0.2737, allocations: 62.09 kB / 0.7072 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.2737, allocations: 4 kB / 0.7072 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.2737, allocations: 0 / 0.7072 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.2738, allocations: 48 / 0.7072 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.921e-05/0.2738, allocations: 19.91 kB / 0.7073 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.2738, allocations: 0 / 0.7073 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.082e-05/0.2739, allocations: 7.953 kB / 0.7073 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.2739, allocations: 4 kB / 0.7073 GB, free: 12.62 MB / 0.5294 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 8.167e-05/0.2739, allocations: 108 kB / 0.7074 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.346e-05/0.274, allocations: 3.938 kB / 0.7074 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001856/0.2741, allocations: 69.36 kB / 0.7074 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.2741, allocations: 3.984 kB / 0.7074 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.2742, allocations: 0 / 0.7074 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.2742, allocations: 7.938 kB / 0.7074 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001135/0.2743, allocations: 124.7 kB / 0.7076 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.2743, allocations: 4 kB / 0.7076 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.005e-05/0.2743, allocations: 19.86 kB / 0.7076 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.2743, allocations: 0 / 0.7076 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.722e-06/0.2743, allocations: 3.938 kB / 0.7076 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.2743, allocations: 0 / 0.7076 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.2743, allocations: 0 / 0.7076 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000172/0.2745, allocations: 85.06 kB / 0.7077 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.043e-05/0.2746, allocations: 7.938 kB / 0.7077 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/0.2746, allocations: 0 / 0.7077 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.298e-05/0.2746, allocations: 8 kB / 0.7077 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.579e-05/0.2747, allocations: 11.98 kB / 0.7077 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.2747, allocations: 0 / 0.7077 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.126e-05/0.2747, allocations: 79.28 kB / 0.7078 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.2747, allocations: 0 / 0.7078 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002501/0.275, allocations: 39.86 kB / 0.7078 GB, free: 11.98 MB / 0.5294 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.0006746/0.2756, allocations: 0.6513 MB / 0.7084 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001642/0.2758, allocations: 31.97 kB / 0.7085 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.2758, allocations: 4 kB / 0.7085 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.803e-05/0.2759, allocations: 15.94 kB / 0.7085 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002639/0.2761, allocations: 7.984 kB / 0.7085 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004891/0.2766, allocations: 177 kB / 0.7087 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.413e-05/0.2767, allocations: 59.22 kB / 0.7087 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.477e-05/0.2767, allocations: 8 kB / 0.7087 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.999e-05/0.2768, allocations: 15.89 kB / 0.7088 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of SimCode: time 6.41e-07/0.2768, allocations: 0 / 0.7088 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02359/0.3004, allocations: 2.193 MB / 0.7109 GB, free: 8.883 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.43, allocations: 9.562 kB / 0.7109 GB, free: 8.875 MB / 0.5294 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.08839855203405] Failed to read output from testmodel.py, exit status != 0: 11.594737424980849 11.619917448 11.344231867 Calling exit ...