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.001297/0.001297, allocations: 79.2 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.001397/0.001397, allocations: 165.8 kB / 22.45 MB, free: 5.375 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.471/1.471, allocations: 177.1 MB / 202.8 MB, free: 9.172 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.205/1.205, allocations: 154.6 MB / 413.8 MB, free: 5.219 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.415e-06/2.415e-06, allocations: 0 / 0.6186 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.774e-05/3.016e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.547 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001588/0.001618, allocations: 0.6313 MB / 0.6192 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001044/0.002662, allocations: 0.8198 MB / 0.62 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.075e-05/0.002703, allocations: 0 / 0.62 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 8.785e-05/0.002791, allocations: 3.938 kB / 0.62 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 2.01e-05/0.002811, allocations: 0 / 0.62 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001032/0.002914, allocations: 11.98 kB / 0.62 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.241e-05/0.002986, allocations: 23.94 kB / 0.62 GB, free: 3.055 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.699e-05/0.003083, allocations: 7.984 kB / 0.62 GB, free: 3.047 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.364e-05/0.003147, allocations: 19.86 kB / 0.6201 GB, free: 3.027 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.773e-05/0.003195, allocations: 8 kB / 0.6201 GB, free: 3.02 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.255e-05/0.003217, allocations: 0 / 0.6201 GB, free: 3.02 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.059e-05/0.003228, allocations: 4 kB / 0.6201 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.928e-05/0.003277, allocations: 7.984 kB / 0.6201 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.051e-05/0.003308, allocations: 11.92 kB / 0.6201 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001017/0.003409, allocations: 31.89 kB / 0.6201 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.993e-06/0.003411, allocations: 0 / 0.6201 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of FrontEnd: time 7.12e-07/0.003412, allocations: 0 / 0.6201 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.003421, allocations: 4 kB / 0.6201 GB, free: 2.961 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.0004293/0.00385, allocations: 266.3 kB / 0.6204 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.003885, allocations: 8.031 kB / 0.6204 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.164e-05/0.003917, allocations: 8.891 kB / 0.6204 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/0.004068, allocations: 117.7 kB / 0.6205 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.35e-06/0.004073, allocations: 384 / 0.6205 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.388e-05/0.004087, allocations: 4.375 kB / 0.6205 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.004275, allocations: 62.17 kB / 0.6206 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.004284, allocations: 192 / 0.6206 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.004292, allocations: 4.375 kB / 0.6206 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.004296, allocations: 4.312 kB / 0.6206 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001661/0.004462, allocations: 43.89 kB / 0.6206 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003642/0.004827, allocations: 212.6 kB / 0.6208 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001168/0.004943, allocations: 34.5 kB / 0.6209 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.13e-05/0.005035, allocations: 20.91 kB / 0.6209 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 7.764e-06/0.005042, allocations: 4 kB / 0.6209 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.005072, allocations: 38.5 kB / 0.6209 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.005073, allocations: 0 / 0.6209 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0003314/0.005404, allocations: 73.64 kB / 0.621 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/0.00544, allocations: 51.41 kB / 0.621 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.779e-05/0.005528, allocations: 105.8 kB / 0.6211 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.005545, allocations: 29.7 kB / 0.6212 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.995e-05/0.005595, allocations: 92.16 kB / 0.6213 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.363e-05/0.005608, allocations: 4 kB / 0.6213 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.301e-05/0.005641, allocations: 17.7 kB / 0.6213 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.005769, allocations: 310.8 kB / 0.6216 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.324e-05/0.005853, allocations: 15.98 kB / 0.6216 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.091e-05/0.005923, allocations: 11.98 kB / 0.6216 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001542/0.006078, allocations: 40.81 kB / 0.6216 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.006079, allocations: 4.062 kB / 0.6216 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001917/0.006271, allocations: 61.61 kB / 0.6217 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.006283, allocations: 4 kB / 0.6217 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.006287, allocations: 0 / 0.6217 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.006303, allocations: 7.984 kB / 0.6217 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.695e-05/0.00638, allocations: 7.938 kB / 0.6217 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.006386, allocations: 3.984 kB / 0.6217 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.995e-05/0.006436, allocations: 8.016 kB / 0.6217 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.006442, allocations: 4 kB / 0.6217 GB, free: 1.137 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 7.559e-05/0.006517, allocations: 110.8 kB / 0.6218 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.476e-05/0.006542, allocations: 7.891 kB / 0.6218 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.1e-05/0.006563, allocations: 7.156 kB / 0.6219 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.006566, allocations: 3.984 kB / 0.6219 GB, free: 1 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.006571, allocations: 3.984 kB / 0.6219 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.684e-06/0.006573, allocations: 0 / 0.6219 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001244/0.006697, allocations: 105.3 kB / 0.622 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.006698, allocations: 3.938 kB / 0.622 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.429e-05/0.006752, allocations: 12.23 kB / 0.622 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.006753, allocations: 0 / 0.622 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.006765, allocations: 7.938 kB / 0.622 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.006766, allocations: 0 / 0.622 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.00677, allocations: 4 kB / 0.622 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002371/0.007007, allocations: 155.5 kB / 0.6221 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.199e-06/0.007013, allocations: 0 / 0.6221 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.007027, allocations: 7.938 kB / 0.6221 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.161e-05/0.007119, allocations: 12.02 kB / 0.6222 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.838e-05/0.007147, allocations: 0 / 0.6222 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-06/0.00715, allocations: 0 / 0.6222 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.546e-05/0.007195, allocations: 87.27 kB / 0.6222 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.007195, allocations: 0 / 0.6222 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002106/0.007406, allocations: 4 kB / 0.6222 GB, free: 0.5586 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 9.483e-05/0.0075, allocations: 95.19 kB / 0.6223 GB, free: 464 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002047/0.007705, allocations: 35.97 kB / 0.6224 GB, free: 428 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.007707, allocations: 0 / 0.6224 GB, free: 428 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.456e-05/0.007792, allocations: 19.97 kB / 0.6224 GB, free: 408 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002556/0.008047, allocations: 10.89 kB / 0.6224 GB, free: 400 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002902/0.008337, allocations: 120.7 kB / 0.6225 GB, free: 252 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.399e-05/0.008401, allocations: 59.34 kB / 0.6226 GB, free: 172 kB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.557e-05/0.008427, allocations: 7.906 kB / 0.6226 GB, free: 164 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.675e-05/0.008454, allocations: 8.625 kB / 0.6226 GB, free: 152 kB / 0.5294 GB Notification: Performance of SimCode: time 3.9e-07/0.008454, allocations: 4 kB / 0.6226 GB, free: 148 kB / 0.5294 GB Notification: Performance of Templates: time 0.002641/0.01109, allocations: 467.5 kB / 0.623 GB, free: 15.71 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.719955511391163] Failed to read output from testmodel.py, exit status != 0: 0.019022513180971146 0.033127325 0.026821217 Calling exit ...