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.001285/0.001285, allocations: 78.56 kB / 19.18 MB, free: 2.516 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.001398/0.001398, allocations: 164.1 kB / 22.46 MB, free: 5.367 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.4/1.4, allocations: 177.2 MB / 202.8 MB, free: 9.164 MB / 190.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.15/1.15, allocations: 154.7 MB / 413.9 MB, free: 5.133 MB / 382.1 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 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: Performance of FrontEnd - loaded program: time 2.805e-06/2.805e-06, allocations: 0 / 0.6187 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.824e-05/3.105e-05, allocations: 10.06 kB / 0.6187 GB, free: 4.559 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001808/0.001839, allocations: 0.6374 MB / 0.6194 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001285/0.003124, allocations: 0.8159 MB / 0.6202 GB, free: 3.109 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.773e-05/0.003182, allocations: 3.938 kB / 0.6202 GB, free: 3.105 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001039/0.003286, allocations: 3.938 kB / 0.6202 GB, free: 3.102 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 2.429e-05/0.00331, allocations: 8.5 kB / 0.6202 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001339/0.003444, allocations: 8 kB / 0.6202 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.902e-05/0.003533, allocations: 31.92 kB / 0.6202 GB, free: 3.055 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.00364, allocations: 3.984 kB / 0.6202 GB, free: 3.051 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.386e-05/0.003703, allocations: 12 kB / 0.6202 GB, free: 3.039 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.163e-05/0.003755, allocations: 11.92 kB / 0.6202 GB, free: 3.027 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.705e-05/0.003782, allocations: 4 kB / 0.6202 GB, free: 3.023 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.752e-06/0.003789, allocations: 0 / 0.6202 GB, free: 3.023 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.733e-05/0.003846, allocations: 11.98 kB / 0.6203 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.111e-05/0.003877, allocations: 7.984 kB / 0.6203 GB, free: 3.004 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 9.16e-05/0.003969, allocations: 31.83 kB / 0.6203 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.003972, allocations: 0 / 0.6203 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.132e-06/0.003973, allocations: 4 kB / 0.6203 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.003978, allocations: 4 kB / 0.6203 GB, free: 2.965 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005/0.004478, allocations: 266.3 kB / 0.6206 GB, free: 2.672 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.004521, allocations: 8.031 kB / 0.6206 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.71e-05/0.004558, allocations: 4.891 kB / 0.6206 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001672/0.004725, allocations: 113.7 kB / 0.6207 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.726e-06/0.004734, allocations: 4.375 kB / 0.6207 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.319e-05/0.004747, allocations: 4.312 kB / 0.6207 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001841/0.004931, allocations: 58.23 kB / 0.6207 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.557e-06/0.004941, allocations: 4.188 kB / 0.6207 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.335e-06/0.004949, allocations: 384 / 0.6207 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.004954, allocations: 384 / 0.6207 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001541/0.005108, allocations: 39.89 kB / 0.6208 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003858/0.005494, allocations: 220.5 kB / 0.621 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001257/0.005619, allocations: 30.56 kB / 0.621 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.158e-05/0.005701, allocations: 24.91 kB / 0.621 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 8.035e-06/0.005709, allocations: 0 / 0.621 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.005741, allocations: 34.5 kB / 0.6211 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 7.81e-07/0.005741, allocations: 0 / 0.6211 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0003316/0.006073, allocations: 77.58 kB / 0.6211 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.431e-05/0.006127, allocations: 55.41 kB / 0.6212 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.756e-05/0.006215, allocations: 105.8 kB / 0.6213 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.006233, allocations: 25.83 kB / 0.6213 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.565e-05/0.006289, allocations: 96.09 kB / 0.6214 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.427e-05/0.006303, allocations: 0 / 0.6214 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.084e-05/0.006334, allocations: 9.719 kB / 0.6214 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.006476, allocations: 318.8 kB / 0.6217 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.895e-05/0.006555, allocations: 15.98 kB / 0.6217 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.611e-05/0.006621, allocations: 11.98 kB / 0.6218 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001364/0.006757, allocations: 40.83 kB / 0.6218 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.006761, allocations: 7.984 kB / 0.6218 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001788/0.00694, allocations: 65.55 kB / 0.6219 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.006953, allocations: 4 kB / 0.6219 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.006956, allocations: 0 / 0.6219 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.006969, allocations: 0 / 0.6219 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.035e-05/0.007049, allocations: 11.97 kB / 0.6219 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.007054, allocations: 0 / 0.6219 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.161e-05/0.007095, allocations: 12.02 kB / 0.6219 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.094e-06/0.007102, allocations: 4.25 kB / 0.6219 GB, free: 1.148 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 (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 8.086e-05/0.007183, allocations: 107.9 kB / 0.622 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.07e-05/0.007214, allocations: 15.89 kB / 0.622 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.743e-05/0.007231, allocations: 3.156 kB / 0.622 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-06/0.007233, allocations: 0 / 0.622 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.007238, allocations: 4 kB / 0.622 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.00724, allocations: 0 / 0.622 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001308/0.007371, allocations: 105.3 kB / 0.6221 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.007372, allocations: 4 kB / 0.6221 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.222e-05/0.007424, allocations: 11.98 kB / 0.6221 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.007426, allocations: 0 / 0.6221 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.387e-06/0.007435, allocations: 3.938 kB / 0.6221 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.007436, allocations: 0 / 0.6221 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.007437, allocations: 0 / 0.6221 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002266/0.007664, allocations: 159.5 kB / 0.6223 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.069e-06/0.007669, allocations: 0 / 0.6223 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/0.007681, allocations: 3.938 kB / 0.6223 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.031e-05/0.007752, allocations: 12.02 kB / 0.6223 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.523e-05/0.007797, allocations: 3.938 kB / 0.6223 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.479e-06/0.007801, allocations: 4 kB / 0.6223 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.343e-05/0.007845, allocations: 83.28 kB / 0.6224 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.007845, allocations: 0 / 0.6224 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002055/0.00805, allocations: 4 kB / 0.6224 GB, free: 0.5781 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 (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.0001111/0.008161, allocations: 99.17 kB / 0.6225 GB, free: 480 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000197/0.008358, allocations: 35.97 kB / 0.6225 GB, free: 444 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.00836, allocations: 0 / 0.6225 GB, free: 444 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 7.352e-05/0.008434, allocations: 15.92 kB / 0.6225 GB, free: 428 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002816/0.008715, allocations: 11.98 kB / 0.6226 GB, free: 416 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002847/0.009, allocations: 112.8 kB / 0.6227 GB, free: 276 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.939e-05/0.009069, allocations: 63.34 kB / 0.6227 GB, free: 192 kB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.156e-05/0.009101, allocations: 7.906 kB / 0.6227 GB, free: 184 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.758e-05/0.009128, allocations: 16.56 kB / 0.6227 GB, free: 164 kB / 0.5294 GB Notification: Performance of SimCode: time 2.91e-07/0.009129, allocations: 0 / 0.6227 GB, free: 164 kB / 0.5294 GB Notification: Performance of Templates: time 0.002746/0.01188, allocations: 470.5 kB / 0.6232 GB, free: 15.72 MB / 0.545 GB " [Timeout remaining time 660] 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: 5.504763873293996] Failed to read output from testmodel.py, exit status != 0: 0.02004404366016388 0.033471190000000005 0.026623065 Calling exit ...