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.0008785/0.0008785, allocations: 77.83 kB / 20.66 MB, free: 3.82 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.0008981/0.0008981, allocations: 177 kB / 24.07 MB, free: 424 kB / 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.9804/0.9804, allocations: 177.1 MB / 204.5 MB, free: 5.484 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-545:108: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-545:116: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.7887/0.7887, allocations: 154.6 MB / 415.6 MB, free: 0.5195 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.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.445e-06/2.445e-06, allocations: 0 / 0.5215 GB, free: 1.914 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.902e-05/3.146e-05, allocations: 2.312 kB / 0.5215 GB, free: 1.91 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001381/0.001412, allocations: 0.6284 MB / 0.5221 GB, free: 1.305 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008132/0.002226, allocations: 0.8419 MB / 0.523 GB, free: 464 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.863e-05/0.002274, allocations: 4 kB / 0.523 GB, free: 460 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000101/0.002375, allocations: 0.5469 kB / 0.523 GB, free: 460 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 2.493e-05/0.0024, allocations: 5.141 kB / 0.523 GB, free: 456 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001036/0.002504, allocations: 7.984 kB / 0.523 GB, free: 448 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.724e-05/0.002571, allocations: 33.61 kB / 0.523 GB, free: 416 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.007e-05/0.002651, allocations: 3.984 kB / 0.523 GB, free: 412 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.764e-05/0.002709, allocations: 15.98 kB / 0.523 GB, free: 396 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.51e-05/0.002764, allocations: 7.984 kB / 0.523 GB, free: 388 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.002779, allocations: 4.75 kB / 0.523 GB, free: 384 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.13e-06/0.002784, allocations: 0 / 0.523 GB, free: 384 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.56e-05/0.00283, allocations: 13.34 kB / 0.5231 GB, free: 372 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.167e-05/0.002851, allocations: 7.984 kB / 0.5231 GB, free: 364 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 7.244e-05/0.002924, allocations: 15.98 kB / 0.5231 GB, free: 348 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.002926, allocations: 0 / 0.5231 GB, free: 348 kB / 490.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.002927, allocations: 1.344 kB / 0.5231 GB, free: 348 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.002931, allocations: 0 / 0.5231 GB, free: 348 kB / 490.7 MB 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.0003318/0.003263, allocations: 376.5 kB / 0.5234 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.003298, allocations: 9.594 kB / 0.5234 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.431e-05/0.003322, allocations: 4.938 kB / 0.5234 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.822e-05/0.00342, allocations: 116.5 kB / 0.5236 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.266e-06/0.003429, allocations: 4.375 kB / 0.5236 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.58e-06/0.003434, allocations: 384 / 0.5236 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.555e-05/0.00353, allocations: 61.34 kB / 0.5236 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.58e-06/0.003535, allocations: 192 / 0.5236 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.643e-06/0.003542, allocations: 4.375 kB / 0.5236 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.003546, allocations: 384 / 0.5236 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.642e-05/0.003563, allocations: 11.94 kB / 0.5236 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000234/0.003797, allocations: 244.9 kB / 0.5239 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.907e-05/0.003836, allocations: 23.62 kB / 0.5239 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.539e-05/0.003851, allocations: 11.67 kB / 0.5239 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.222e-06/0.003857, allocations: 4.938 kB / 0.5239 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/0.003877, allocations: 33.39 kB / 0.5239 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.003878, allocations: 1.531 kB / 0.5239 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0001171/0.003995, allocations: 45.62 kB / 0.524 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.678e-05/0.004021, allocations: 51.41 kB / 0.524 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.736e-05/0.004089, allocations: 162.9 kB / 0.5242 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.067e-06/0.004098, allocations: 25.7 kB / 0.5242 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.381e-05/0.004142, allocations: 138.8 kB / 0.5243 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.623e-05/0.004158, allocations: 5.469 kB / 0.5244 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.492e-05/0.004183, allocations: 19.38 kB / 0.5244 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.004294, allocations: 496.1 kB / 0.5248 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.978e-06/0.004304, allocations: 4 kB / 0.5248 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.334e-06/0.004311, allocations: 1.094 kB / 0.5249 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.033e-05/0.004332, allocations: 8.375 kB / 0.5249 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.004333, allocations: 4 kB / 0.5249 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.638e-05/0.00438, allocations: 42.86 kB / 0.5249 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.004393, allocations: 7.938 kB / 0.5249 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.004397, allocations: 0 / 0.5249 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.585e-06/0.004405, allocations: 3.25 kB / 0.5249 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.129e-05/0.004456, allocations: 4 kB / 0.5249 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.783e-06/0.004458, allocations: 3.938 kB / 0.5249 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.643e-05/0.004474, allocations: 4 kB / 0.5249 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.058e-06/0.004479, allocations: 0 / 0.5249 GB, free: 14.26 MB / 0.4948 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 6.178e-05/0.00454, allocations: 156.6 kB / 0.5251 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.44e-05/0.004555, allocations: 4 kB / 0.5251 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.076e-05/0.004575, allocations: 14.69 kB / 0.5251 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.004577, allocations: 3.031 kB / 0.5251 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.004579, allocations: 0 / 0.5251 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.004581, allocations: 0 / 0.5251 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.615e-05/0.004667, allocations: 97.25 kB / 0.5252 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.004668, allocations: 4 kB / 0.5252 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.491e-05/0.004683, allocations: 0 / 0.5252 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.004685, allocations: 4 kB / 0.5252 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.857e-06/0.004689, allocations: 0 / 0.5252 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.00469, allocations: 5.688 kB / 0.5252 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.004694, allocations: 7.938 kB / 0.5252 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.709e-05/0.004791, allocations: 179.9 kB / 0.5254 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.263e-06/0.004798, allocations: 4.453 kB / 0.5254 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.943e-06/0.004805, allocations: 0 / 0.5254 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.801e-05/0.004833, allocations: 6.406 kB / 0.5254 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.732e-05/0.00486, allocations: 7.938 kB / 0.5254 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-06/0.004862, allocations: 0 / 0.5254 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002875/0.00515, allocations: 131.2 kB / 0.5255 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.00515, allocations: 0 / 0.5255 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001343/0.005284, allocations: 4 kB / 0.5255 GB, free: 13.59 MB / 0.4948 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 8.213e-05/0.005366, allocations: 97.69 kB / 0.5256 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 5.694e-05/0.005423, allocations: 11.62 kB / 0.5256 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.005425, allocations: 0 / 0.5256 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.234e-05/0.005437, allocations: 11.69 kB / 0.5256 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001863/0.005623, allocations: 11.2 kB / 0.5257 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002334/0.005857, allocations: 126.2 kB / 0.5258 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.14e-05/0.005888, allocations: 52.39 kB / 0.5258 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.901e-05/0.005907, allocations: 4 kB / 0.5258 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.269e-05/0.00595, allocations: 67.14 kB / 0.5259 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of SimCode: time 8.11e-07/0.005951, allocations: 0 / 0.5259 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of Templates: time 0.00194/0.007891, allocations: 0.5087 MB / 0.5264 GB, free: 12.67 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6247725379653275]