Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.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.001922/0.001922, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002271/0.002271, allocations: 217.6 kB / 22.25 MB, free: 4.859 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.584/1.584, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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 1.313/1.313, allocations: 203.5 MB / 0.5038 GB, free: 4.918 MB / 414.1 MB " [Timeout remaining time 178] 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.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") translateModel(IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") [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.002211/0.002211, allocations: 71.89 kB / 0.7183 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6616/0.6639, allocations: 102 MB / 0.8178 GB, free: 29.13 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.002878/0.6667, allocations: 0.6283 MB / 0.8185 GB, free: 28.77 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001426/0.6682, allocations: 0.8165 MB / 0.8193 GB, free: 28.15 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.502e-05/0.6682, allocations: 4.609 kB / 0.8193 GB, free: 28.15 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001201/0.6683, allocations: 4.781 kB / 0.8193 GB, free: 28.15 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 2.955e-05/0.6684, allocations: 6.875 kB / 0.8193 GB, free: 28.14 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001476/0.6685, allocations: 4.266 kB / 0.8193 GB, free: 28.14 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001169/0.6686, allocations: 25.44 kB / 0.8193 GB, free: 28.13 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001441/0.6688, allocations: 7.719 kB / 0.8193 GB, free: 28.13 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 6.515e-05/0.6688, allocations: 9.578 kB / 0.8193 GB, free: 28.12 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 7.887e-05/0.6689, allocations: 14.73 kB / 0.8193 GB, free: 28.12 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 2.046e-05/0.6689, allocations: 2.781 kB / 0.8193 GB, free: 28.12 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 1.329e-05/0.669, allocations: 2.562 kB / 0.8193 GB, free: 28.12 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 7.079e-05/0.669, allocations: 11.67 kB / 0.8193 GB, free: 28.11 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 4.496e-05/0.6691, allocations: 7.859 kB / 0.8194 GB, free: 28.11 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0001411/0.6692, allocations: 33.27 kB / 0.8194 GB, free: 28.09 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.6692, allocations: 1.562 kB / 0.8194 GB, free: 28.09 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.386e-06/0.6692, allocations: 0 / 0.8194 GB, free: 28.09 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.562e-05/0.6692, allocations: 0 / 0.8194 GB, free: 28.09 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005306/0.6698, allocations: 275.2 kB / 0.8197 GB, free: 27.82 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.6698, allocations: 10.22 kB / 0.8197 GB, free: 27.82 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.554e-05/0.6699, allocations: 3.641 kB / 0.8197 GB, free: 27.82 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.67, allocations: 113.2 kB / 0.8198 GB, free: 27.7 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.67, allocations: 1.625 kB / 0.8198 GB, free: 27.7 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.172e-05/0.6701, allocations: 6.266 kB / 0.8198 GB, free: 27.69 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002454/0.6703, allocations: 59.12 kB / 0.8198 GB, free: 27.65 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.6703, allocations: 192 / 0.8198 GB, free: 27.65 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.6703, allocations: 5.344 kB / 0.8198 GB, free: 27.65 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.6703, allocations: 0.625 kB / 0.8198 GB, free: 27.65 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002184/0.6705, allocations: 39.55 kB / 0.8199 GB, free: 27.64 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004272/0.671, allocations: 221.4 kB / 0.8201 GB, free: 27.43 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001471/0.6711, allocations: 39 kB / 0.8201 GB, free: 27.39 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.6712, allocations: 18.14 kB / 0.8201 GB, free: 27.39 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.6713, allocations: 2.547 kB / 0.8201 GB, free: 27.39 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.815e-05/0.6713, allocations: 44.38 kB / 0.8202 GB, free: 27.34 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.6713, allocations: 1.469 kB / 0.8202 GB, free: 27.34 MB / 0.6387 GB Notification: Performance of matching and sorting (n=1): time 0.0004691/0.6718, allocations: 73.53 kB / 0.8203 GB, free: 27.3 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.629e-05/0.6718, allocations: 52.38 kB / 0.8203 GB, free: 27.24 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.741e-05/0.6719, allocations: 103 kB / 0.8204 GB, free: 27.14 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.6719, allocations: 27.83 kB / 0.8204 GB, free: 27.11 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 4.901e-05/0.672, allocations: 87.34 kB / 0.8205 GB, free: 27.02 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.042e-05/0.672, allocations: 8.438 kB / 0.8205 GB, free: 27.01 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.902e-05/0.672, allocations: 12.19 kB / 0.8205 GB, free: 27 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 7.092e-05/0.6721, allocations: 315.1 kB / 0.8208 GB, free: 26.68 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/0.6722, allocations: 13.06 kB / 0.8209 GB, free: 26.68 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/0.6723, allocations: 21.95 kB / 0.8209 GB, free: 26.68 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002/0.6725, allocations: 39.72 kB / 0.8209 GB, free: 26.66 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.6725, allocations: 3.938 kB / 0.8209 GB, free: 26.66 MB / 0.6387 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002372/0.6728, allocations: 61.31 kB / 0.821 GB, free: 26.62 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.6728, allocations: 8.938 kB / 0.821 GB, free: 26.62 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.768e-06/0.6728, allocations: 0 / 0.821 GB, free: 26.62 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.6728, allocations: 0 / 0.821 GB, free: 26.62 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.6729, allocations: 11.88 kB / 0.821 GB, free: 26.62 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.6729, allocations: 0.6562 kB / 0.821 GB, free: 26.62 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.367e-05/0.673, allocations: 9.922 kB / 0.821 GB, free: 26.62 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.673, allocations: 0.9375 kB / 0.821 GB, free: 26.62 MB / 0.6387 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 (1): * Single equations (assignments): 1 * 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 7.686e-05/0.6731, allocations: 114.8 kB / 0.8211 GB, free: 26.5 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.898e-05/0.6731, allocations: 2.938 kB / 0.8211 GB, free: 26.5 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.957e-05/0.6731, allocations: 12.05 kB / 0.8211 GB, free: 26.49 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.6731, allocations: 2.156 kB / 0.8211 GB, free: 26.49 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.351e-06/0.6731, allocations: 4.641 kB / 0.8211 GB, free: 26.48 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.6731, allocations: 0.5938 kB / 0.8211 GB, free: 26.48 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001413/0.6733, allocations: 106.3 kB / 0.8212 GB, free: 26.36 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.6733, allocations: 4.219 kB / 0.8212 GB, free: 26.36 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.695e-05/0.6733, allocations: 8.328 kB / 0.8212 GB, free: 26.36 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.6733, allocations: 0 / 0.8212 GB, free: 26.36 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.6734, allocations: 1.312 kB / 0.8212 GB, free: 26.36 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.6734, allocations: 0 / 0.8212 GB, free: 26.36 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.6734, allocations: 0 / 0.8212 GB, free: 26.36 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002558/0.6736, allocations: 161 kB / 0.8214 GB, free: 26.21 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.021e-05/0.6736, allocations: 2.719 kB / 0.8214 GB, free: 26.21 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.372e-05/0.6737, allocations: 1 kB / 0.8214 GB, free: 26.21 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.6738, allocations: 11.06 kB / 0.8214 GB, free: 26.21 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.12e-05/0.6738, allocations: 1.031 kB / 0.8214 GB, free: 26.21 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.6738, allocations: 4.719 kB / 0.8214 GB, free: 26.21 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 3.543e-05/0.6739, allocations: 86.05 kB / 0.8215 GB, free: 26.13 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6739, allocations: 0 / 0.8215 GB, free: 26.13 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003171/0.6742, allocations: 8.328 kB / 0.8215 GB, free: 26.12 MB / 0.6387 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 (1): * Single equations (assignments): 1 * 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.0001105/0.6743, allocations: 98.03 kB / 0.8216 GB, free: 26.03 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0002859/0.6746, allocations: 36.44 kB / 0.8216 GB, free: 26.02 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.6746, allocations: 0.7188 kB / 0.8216 GB, free: 26.02 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001097/0.6747, allocations: 14.12 kB / 0.8217 GB, free: 26.02 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004346/0.6751, allocations: 15.78 kB / 0.8217 GB, free: 26.01 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003621/0.6755, allocations: 110 kB / 0.8218 GB, free: 25.9 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.28e-05/0.6755, allocations: 60.55 kB / 0.8218 GB, free: 25.83 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 3.885e-05/0.6756, allocations: 7.391 kB / 0.8218 GB, free: 25.83 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.158e-05/0.6756, allocations: 11.94 kB / 0.8219 GB, free: 25.82 MB / 0.6387 GB Notification: Performance of SimCode: time 3.1e-07/0.6756, allocations: 0 / 0.8219 GB, free: 25.82 MB / 0.6387 GB Notification: Performance of Templates: time 0.003904/0.6795, allocations: 469.1 kB / 0.8223 GB, free: 25.74 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.011453125625849] Failed to read output from testmodel.py, exit status != 0: 0.6891054231673479 0.710363589 0.036795916000000005 Calling exit ...