Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.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.0007905/0.0007905, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007739/0.0007739, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.8744/0.8744, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.6898/0.6898, allocations: 154.6 MB / 414.5 MB, free: 0.7891 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.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: translateModel(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=671,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") translateModel(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=671,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 0.6193 GB, free: 13.17 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.934e-05/3.154e-05, allocations: 6.219 kB / 0.6193 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003429/0.003461, allocations: 1.668 MB / 0.621 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002599/0.00606, allocations: 1.672 MB / 0.6226 GB, free: 9.801 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.006169, allocations: 3.938 kB / 0.6226 GB, free: 9.797 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0006049/0.006774, allocations: 63.56 kB / 0.6227 GB, free: 9.734 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0003309/0.007105, allocations: 95.53 kB / 0.6228 GB, free: 9.641 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002062/0.007311, allocations: 79.59 kB / 0.6228 GB, free: 9.562 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002793/0.007591, allocations: 179.6 kB / 0.623 GB, free: 9.387 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 5.369e-05/0.007644, allocations: 4 kB / 0.623 GB, free: 9.383 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001613/0.007806, allocations: 83.75 kB / 0.6231 GB, free: 9.301 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001522/0.007958, allocations: 71.84 kB / 0.6232 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.336e-05/0.007991, allocations: 12 kB / 0.6232 GB, free: 9.219 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002127/0.008204, allocations: 107.8 kB / 0.6233 GB, free: 9.113 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 8.738e-05/0.008291, allocations: 51.83 kB / 0.6233 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 7.238e-05/0.008364, allocations: 43.84 kB / 0.6234 GB, free: 9.02 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0004128/0.008777, allocations: 259.2 kB / 0.6236 GB, free: 8.766 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.008782, allocations: 0 / 0.6236 GB, free: 8.766 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.583e-06/0.008783, allocations: 0 / 0.6236 GB, free: 8.766 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.082e-06/0.008789, allocations: 0 / 0.6236 GB, free: 8.766 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007182/0.009507, allocations: 423.2 kB / 0.624 GB, free: 8.324 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.00955, allocations: 12.03 kB / 0.624 GB, free: 8.312 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.444e-05/0.009624, allocations: 16.84 kB / 0.624 GB, free: 8.297 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007441/0.01037, allocations: 211.2 kB / 0.6242 GB, free: 8.062 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.01039, allocations: 4.375 kB / 0.6243 GB, free: 8.059 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.812e-05/0.01041, allocations: 4.375 kB / 0.6243 GB, free: 8.055 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000291/0.0107, allocations: 157.5 kB / 0.6244 GB, free: 7.883 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.01071, allocations: 3.938 kB / 0.6244 GB, free: 7.879 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.01073, allocations: 3.938 kB / 0.6244 GB, free: 7.875 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.01073, allocations: 0 / 0.6244 GB, free: 7.875 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000322/0.01105, allocations: 187.8 kB / 0.6246 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002683/0.01132, allocations: 181.2 kB / 0.6248 GB, free: 7.484 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004811/0.0118, allocations: 198.4 kB / 0.625 GB, free: 7.281 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001167/0.01192, allocations: 60.83 kB / 0.625 GB, free: 7.219 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.01194, allocations: 4 kB / 0.625 GB, free: 7.215 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000247/0.01219, allocations: 123.3 kB / 0.6251 GB, free: 7.082 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=13): time 2.304e-06/0.01219, allocations: 0 / 0.6251 GB, free: 7.082 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13): time 0.0005695/0.01276, allocations: 257.4 kB / 0.6254 GB, free: 6.824 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.488e-05/0.01281, allocations: 77.11 kB / 0.6255 GB, free: 6.73 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002712/0.01308, allocations: 256.3 kB / 0.6257 GB, free: 6.473 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/0.01311, allocations: 29.7 kB / 0.6257 GB, free: 6.438 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.481e-05/0.01318, allocations: 112.1 kB / 0.6258 GB, free: 6.324 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 6.235e-05/0.01324, allocations: 47.64 kB / 0.6259 GB, free: 6.277 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.715e-05/0.01331, allocations: 33.7 kB / 0.6259 GB, free: 6.238 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.01343, allocations: 330.9 kB / 0.6262 GB, free: 5.906 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001216/0.01355, allocations: 59.89 kB / 0.6263 GB, free: 5.848 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001399/0.01369, allocations: 116.2 kB / 0.6264 GB, free: 5.719 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002427/0.01393, allocations: 148.3 kB / 0.6265 GB, free: 5.57 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.01393, allocations: 4.031 kB / 0.6265 GB, free: 5.566 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003795/0.01431, allocations: 205.5 kB / 0.6267 GB, free: 5.359 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.01433, allocations: 4 kB / 0.6267 GB, free: 5.355 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.01434, allocations: 3.938 kB / 0.6267 GB, free: 5.352 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.01436, allocations: 7.984 kB / 0.6268 GB, free: 5.344 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.01449, allocations: 31.92 kB / 0.6268 GB, free: 5.312 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.0145, allocations: 0 / 0.6268 GB, free: 5.312 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.642e-05/0.01456, allocations: 7.953 kB / 0.6268 GB, free: 5.305 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/0.01458, allocations: 4 kB / 0.6268 GB, free: 5.301 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 0.0001238/0.0147, allocations: 141.9 kB / 0.6269 GB, free: 5.152 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.158e-05/0.01474, allocations: 19.86 kB / 0.6269 GB, free: 5.133 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005089/0.01525, allocations: 278.9 kB / 0.6272 GB, free: 4.852 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.685e-06/0.01526, allocations: 11.92 kB / 0.6272 GB, free: 4.84 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.01527, allocations: 4 kB / 0.6272 GB, free: 4.836 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.01527, allocations: 0 / 0.6272 GB, free: 4.836 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002174/0.01549, allocations: 193.1 kB / 0.6274 GB, free: 4.617 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.01549, allocations: 0 / 0.6274 GB, free: 4.617 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001157/0.01561, allocations: 39.91 kB / 0.6275 GB, free: 4.578 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.01561, allocations: 3.938 kB / 0.6275 GB, free: 4.574 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.976e-05/0.01563, allocations: 15.98 kB / 0.6275 GB, free: 4.559 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-06/0.01563, allocations: 0 / 0.6275 GB, free: 4.559 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.01564, allocations: 3.938 kB / 0.6275 GB, free: 4.555 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004554/0.01609, allocations: 288 kB / 0.6277 GB, free: 4.258 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.606e-05/0.01613, allocations: 19.84 kB / 0.6278 GB, free: 4.238 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.826e-05/0.01617, allocations: 4 kB / 0.6278 GB, free: 4.234 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.391e-05/0.01623, allocations: 8 kB / 0.6278 GB, free: 4.227 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.246e-05/0.01628, allocations: 19.91 kB / 0.6278 GB, free: 4.207 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-05/0.01631, allocations: 7.984 kB / 0.6278 GB, free: 4.199 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001823/0.01649, allocations: 191.1 kB / 0.628 GB, free: 4.012 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01649, allocations: 4 kB / 0.628 GB, free: 4.008 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003358/0.01683, allocations: 59.86 kB / 0.628 GB, free: 3.949 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: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001162/0.01799, allocations: 0.5417 MB / 0.6286 GB, free: 3.656 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000308/0.0183, allocations: 147.9 kB / 0.6287 GB, free: 3.512 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.0183, allocations: 0 / 0.6287 GB, free: 3.512 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001328/0.01843, allocations: 87.83 kB / 0.6288 GB, free: 3.426 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002723/0.0187, allocations: 34.48 kB / 0.6288 GB, free: 3.395 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006581/0.01936, allocations: 387.7 kB / 0.6292 GB, free: 2.98 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.862e-05/0.01946, allocations: 128 kB / 0.6293 GB, free: 2.84 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.819e-05/0.01955, allocations: 36.48 kB / 0.6294 GB, free: 2.805 MB / 0.5886 GB Notification: Performance of SimCode: time 8.02e-07/0.01955, allocations: 0 / 0.6294 GB, free: 2.805 MB / 0.5886 GB Notification: Performance of Templates: time 0.006423/0.02597, allocations: 3.505 MB / 0.6328 GB, free: 15.34 MB / 0.6042 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & ./IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.399852566421032] Failed to read output from testmodel.py, exit status != 0: 0.0339615773409605 0.044689605 0.034157004000000005 Calling exit ...