Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001783/0.001783, allocations: 84.73 kB / 19.44 MB, free: 360 kB / 13.93 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.002329/0.002329, allocations: 157.7 kB / 22.75 MB, free: 1.688 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 1.494/1.494, allocations: 177.2 MB / 203.1 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.218/1.218, allocations: 154.8 MB / 414.4 MB, free: 440 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_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_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.615e-06/2.615e-06, allocations: 0 / 0.5198 GB, free: 2.266 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.999e-05/3.26e-05, allocations: 5.812 kB / 0.5199 GB, free: 2.262 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001777/0.00181, allocations: 0.6368 MB / 0.5205 GB, free: 1.648 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001157/0.002967, allocations: 0.8161 MB / 0.5213 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.026e-05/0.003007, allocations: 1.219 kB / 0.5213 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001/0.003107, allocations: 3.938 kB / 0.5213 GB, free: 0.8164 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 2.554e-05/0.003133, allocations: 7.984 kB / 0.5213 GB, free: 0.8086 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001011/0.003234, allocations: 1.781 kB / 0.5213 GB, free: 0.8086 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.531e-05/0.003319, allocations: 27.92 kB / 0.5213 GB, free: 0.7812 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.965e-05/0.003399, allocations: 4 kB / 0.5213 GB, free: 0.7773 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.527e-05/0.003464, allocations: 19.92 kB / 0.5213 GB, free: 0.7578 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.879e-05/0.003513, allocations: 3.984 kB / 0.5213 GB, free: 0.7539 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.567e-05/0.003528, allocations: 5.812 kB / 0.5213 GB, free: 0.75 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.736e-06/0.003537, allocations: 4 kB / 0.5213 GB, free: 0.7461 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 5.202e-05/0.003589, allocations: 11.97 kB / 0.5214 GB, free: 0.7344 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.716e-05/0.003626, allocations: 8 kB / 0.5214 GB, free: 0.7266 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 9.436e-05/0.003721, allocations: 35.77 kB / 0.5214 GB, free: 0.6914 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.003727, allocations: 5.656 kB / 0.5214 GB, free: 0.6875 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.003728, allocations: 0 / 0.5214 GB, free: 0.6875 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.003733, allocations: 0 / 0.5214 GB, free: 0.6875 MB / 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.0005054/0.004238, allocations: 263.1 kB / 0.5217 GB, free: 408 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.004276, allocations: 8.031 kB / 0.5217 GB, free: 400 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.934e-05/0.004315, allocations: 6.344 kB / 0.5217 GB, free: 396 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001649/0.00448, allocations: 113.7 kB / 0.5218 GB, free: 256 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.004495, allocations: 4.375 kB / 0.5218 GB, free: 252 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.004507, allocations: 4.375 kB / 0.5218 GB, free: 248 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002188/0.004726, allocations: 51.58 kB / 0.5218 GB, free: 192 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.004736, allocations: 192 / 0.5218 GB, free: 192 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.004751, allocations: 8.375 kB / 0.5218 GB, free: 184 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.004757, allocations: 1.5 kB / 0.5218 GB, free: 184 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001872/0.004944, allocations: 42.62 kB / 0.5219 GB, free: 144 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005237/0.005467, allocations: 212.6 kB / 0.5221 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001365/0.005604, allocations: 38.48 kB / 0.5221 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.005714, allocations: 20.91 kB / 0.5221 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.005729, allocations: 4.5 kB / 0.5222 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.695e-05/0.005766, allocations: 34.5 kB / 0.5222 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.005767, allocations: 0.5625 kB / 0.5222 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0004018/0.006169, allocations: 80.23 kB / 0.5223 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.876e-05/0.006227, allocations: 51.41 kB / 0.5223 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.006354, allocations: 105.8 kB / 0.5224 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.542e-05/0.00638, allocations: 25.7 kB / 0.5224 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.256e-05/0.006462, allocations: 89.03 kB / 0.5225 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.265e-05/0.006485, allocations: 3.984 kB / 0.5225 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.74e-05/0.006522, allocations: 11.12 kB / 0.5225 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002192/0.006742, allocations: 318.8 kB / 0.5228 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.065e-05/0.006832, allocations: 19.91 kB / 0.5229 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.772e-05/0.00691, allocations: 17.14 kB / 0.5229 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001462/0.007056, allocations: 30.8 kB / 0.5229 GB, free: 15 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.007058, allocations: 0 / 0.5229 GB, free: 15 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002083/0.007266, allocations: 70.89 kB / 0.523 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.007283, allocations: 8 kB / 0.523 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.007288, allocations: 0 / 0.523 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/0.007309, allocations: 3.094 kB / 0.523 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.25e-05/0.007401, allocations: 7.984 kB / 0.523 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.007407, allocations: 0 / 0.523 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.535e-05/0.007452, allocations: 4.25 kB / 0.523 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.007461, allocations: 4 kB / 0.523 GB, free: 14.9 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 0.0001196/0.00758, allocations: 121.8 kB / 0.5231 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.453e-05/0.007605, allocations: 3.938 kB / 0.5231 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.221e-05/0.007627, allocations: 9.938 kB / 0.5231 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.007629, allocations: 0 / 0.5231 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.007633, allocations: 0 / 0.5231 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.007636, allocations: 0 / 0.5231 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000157/0.007793, allocations: 105.3 kB / 0.5232 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.007794, allocations: 0 / 0.5232 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.515e-05/0.007849, allocations: 11.98 kB / 0.5232 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.007851, allocations: 1.312 kB / 0.5232 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.007862, allocations: 7.875 kB / 0.5232 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.007863, allocations: 0 / 0.5232 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.007863, allocations: 0 / 0.5232 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002625/0.008126, allocations: 158 kB / 0.5234 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.603e-06/0.008133, allocations: 0 / 0.5234 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.008152, allocations: 11.92 kB / 0.5234 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.895e-05/0.008231, allocations: 7.984 kB / 0.5234 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.893e-05/0.00827, allocations: 6.375 kB / 0.5234 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.008275, allocations: 4 kB / 0.5234 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.378e-05/0.008329, allocations: 79.28 kB / 0.5235 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.008329, allocations: 0 / 0.5235 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002267/0.008556, allocations: 7.953 kB / 0.5235 GB, free: 14.33 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 0.000142/0.008698, allocations: 101.5 kB / 0.5236 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002112/0.008909, allocations: 31.97 kB / 0.5236 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.00891, allocations: 0 / 0.5236 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.242e-05/0.008993, allocations: 17.02 kB / 0.5237 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003293/0.009322, allocations: 12.39 kB / 0.5237 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003492/0.009671, allocations: 119.6 kB / 0.5238 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.236e-05/0.009744, allocations: 64.91 kB / 0.5238 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.047e-05/0.009774, allocations: 4 kB / 0.5238 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.925e-05/0.009803, allocations: 8.5 kB / 0.5239 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of SimCode: time 3.9e-07/0.009804, allocations: 1.281 kB / 0.5239 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of Templates: time 0.002864/0.01267, allocations: 467.2 kB / 0.5243 GB, free: 13.5 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.81246382300742]