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.001096/0.001096, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0009044/0.0009044, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.9372/0.9372, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.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.7224/0.7224, allocations: 154.6 MB / 413.7 MB, free: 0.8359 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 0.618 GB, free: 13.8 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.988e-05/2.162e-05, allocations: 2.281 kB / 0.618 GB, free: 13.8 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.001949/0.001971, allocations: 1.51 MB / 0.6195 GB, free: 12.28 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0009649/0.002936, allocations: 0.7555 MB / 0.6202 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.317e-05/0.002969, allocations: 0 / 0.6202 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.894e-05/0.002998, allocations: 3.938 kB / 0.6202 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.674e-05/0.003055, allocations: 23.78 kB / 0.6203 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004264/0.003481, allocations: 131.3 kB / 0.6204 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.401e-05/0.003555, allocations: 51.8 kB / 0.6204 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.996e-05/0.003645, allocations: 15.97 kB / 0.6204 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.173e-05/0.003697, allocations: 27.92 kB / 0.6205 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.615e-05/0.003733, allocations: 15.97 kB / 0.6205 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.312e-05/0.003746, allocations: 8 kB / 0.6205 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002189/0.003965, allocations: 163.6 kB / 0.6206 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.883e-05/0.003984, allocations: 23.91 kB / 0.6207 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.717e-05/0.004011, allocations: 8 kB / 0.6207 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002026/0.004213, allocations: 159.5 kB / 0.6208 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.004216, allocations: 8 kB / 0.6208 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.192e-06/0.004218, allocations: 4 kB / 0.6208 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.004221, allocations: 0 / 0.6208 GB, free: 10.89 MB / 0.5886 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.0003695/0.004591, allocations: 317.8 kB / 0.6211 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.004628, allocations: 13.47 kB / 0.6212 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.93e-05/0.004658, allocations: 38.73 kB / 0.6212 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.976e-05/0.004677, allocations: 4.938 kB / 0.6212 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.272e-05/0.00475, allocations: 113.7 kB / 0.6213 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.967e-06/0.004759, allocations: 384 / 0.6213 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.00477, allocations: 12.31 kB / 0.6213 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.004929, allocations: 82.19 kB / 0.6214 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.533e-06/0.004935, allocations: 192 / 0.6214 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.004943, allocations: 384 / 0.6214 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.004954, allocations: 4.125 kB / 0.6214 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001416/0.005095, allocations: 63.92 kB / 0.6215 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002972/0.005393, allocations: 247.8 kB / 0.6217 GB, free: 9.898 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001162/0.005509, allocations: 62.48 kB / 0.6218 GB, free: 9.828 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.567e-05/0.005584, allocations: 36.91 kB / 0.6218 GB, free: 9.789 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001049/0.005689, allocations: 11.98 kB / 0.6218 GB, free: 9.777 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.765e-05/0.005707, allocations: 34.56 kB / 0.6218 GB, free: 9.734 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.005708, allocations: 0 / 0.6218 GB, free: 9.734 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0003741/0.006082, allocations: 133.5 kB / 0.622 GB, free: 9.598 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.852e-05/0.00611, allocations: 59.33 kB / 0.622 GB, free: 9.527 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.664e-05/0.006177, allocations: 119.3 kB / 0.6221 GB, free: 9.402 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.006188, allocations: 25.7 kB / 0.6222 GB, free: 9.371 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.367e-05/0.006221, allocations: 88.14 kB / 0.6222 GB, free: 9.281 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.542e-05/0.006237, allocations: 7.953 kB / 0.6223 GB, free: 9.273 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.653e-05/0.006263, allocations: 21.7 kB / 0.6223 GB, free: 9.246 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.044e-05/0.006334, allocations: 314.8 kB / 0.6226 GB, free: 8.93 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.103e-05/0.006405, allocations: 35.95 kB / 0.6226 GB, free: 8.895 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.158e-05/0.006466, allocations: 27.97 kB / 0.6226 GB, free: 8.867 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001302/0.006597, allocations: 72.78 kB / 0.6227 GB, free: 8.793 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.006598, allocations: 0 / 0.6227 GB, free: 8.793 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001564/0.006754, allocations: 105.5 kB / 0.6228 GB, free: 8.684 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.006765, allocations: 4 kB / 0.6228 GB, free: 8.68 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.006769, allocations: 4 kB / 0.6228 GB, free: 8.676 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.00678, allocations: 0 / 0.6228 GB, free: 8.676 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.37e-05/0.006844, allocations: 15.97 kB / 0.6228 GB, free: 8.66 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.319e-06/0.006848, allocations: 4 kB / 0.6228 GB, free: 8.656 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.102e-05/0.006889, allocations: 15.92 kB / 0.6228 GB, free: 8.641 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.561e-05/0.006945, allocations: 4 kB / 0.6229 GB, free: 8.637 MB / 0.5886 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 8.876e-05/0.007034, allocations: 110.8 kB / 0.623 GB, free: 8.52 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.132e-05/0.007065, allocations: 15.83 kB / 0.623 GB, free: 8.504 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002841/0.007349, allocations: 113.9 kB / 0.6231 GB, free: 8.379 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.007352, allocations: 4 kB / 0.6231 GB, free: 8.375 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.007356, allocations: 0 / 0.6231 GB, free: 8.375 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.00736, allocations: 0 / 0.6231 GB, free: 8.375 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000127/0.007487, allocations: 136.7 kB / 0.6232 GB, free: 8.199 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.007488, allocations: 4 kB / 0.6232 GB, free: 8.195 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.436e-05/0.007553, allocations: 19.98 kB / 0.6232 GB, free: 8.176 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.269e-06/0.007557, allocations: 0 / 0.6232 GB, free: 8.176 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.007564, allocations: 0 / 0.6232 GB, free: 8.176 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.007567, allocations: 4 kB / 0.6232 GB, free: 8.172 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.007568, allocations: 0 / 0.6232 GB, free: 8.172 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002011/0.007769, allocations: 199.4 kB / 0.6234 GB, free: 7.961 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.066e-05/0.00779, allocations: 4 kB / 0.6234 GB, free: 7.957 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.007802, allocations: 0 / 0.6234 GB, free: 7.957 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.942e-05/0.007881, allocations: 15.92 kB / 0.6234 GB, free: 7.941 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.792e-05/0.007929, allocations: 7.984 kB / 0.6235 GB, free: 7.934 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.007935, allocations: 4 kB / 0.6235 GB, free: 7.93 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.28e-05/0.007977, allocations: 95.27 kB / 0.6236 GB, free: 7.836 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.007977, allocations: 0 / 0.6236 GB, free: 7.836 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002042/0.008182, allocations: 35.88 kB / 0.6236 GB, free: 7.801 MB / 0.5886 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.0004961/0.008678, allocations: 0.7552 MB / 0.6243 GB, free: 7.016 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002076/0.008885, allocations: 79.8 kB / 0.6244 GB, free: 6.938 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.008887, allocations: 0 / 0.6244 GB, free: 6.938 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.261e-05/0.00896, allocations: 39.95 kB / 0.6244 GB, free: 6.898 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002551/0.009215, allocations: 6.188 kB / 0.6244 GB, free: 6.895 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001343/0.01056, allocations: 1.428 MB / 0.6258 GB, free: 5.387 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.96e-05/0.01061, allocations: 75.28 kB / 0.6259 GB, free: 5.293 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.238e-05/0.01064, allocations: 7.969 kB / 0.6259 GB, free: 5.285 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.038e-05/0.01068, allocations: 16.5 kB / 0.6259 GB, free: 5.27 MB / 0.5886 GB Notification: Performance of SimCode: time 6.72e-07/0.01068, allocations: 0 / 0.6259 GB, free: 5.27 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01892/0.0296, allocations: 3.24 MB / 0.6291 GB, free: 2.188 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.924/6.954, allocations: 0.7031 kB / 0.6291 GB, free: 2.188 MB / 0.5886 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: 9.698268841020763] Failed to read output from testmodel.py, exit status != 0: 7.035867512226105 7.046893921 7.039340101 Calling exit ...