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.0007213/0.0007213, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 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.0007884/0.0007884, allocations: 207.8 kB / 23 MB, free: 3.121 MB / 13.93 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.8457/0.8457, allocations: 230.6 MB / 256.8 MB, free: 3.477 MB / 202.7 MB " [Timeout remaining time 179] 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-531:190: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-531:198: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 0.7526/0.7526, allocations: 203.8 MB / 0.5049 GB, free: 0.6914 MB / 410.7 MB " [Timeout remaining time 179] 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: 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.0009732/0.0009732, allocations: 67.89 kB / 0.7195 GB, free: 14.4 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4614/0.4623, allocations: 102 MB / 0.8191 GB, free: 25.23 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001476/0.4638, allocations: 0.6402 MB / 0.8197 GB, free: 24.84 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.000792/0.4646, allocations: 0.819 MB / 0.8205 GB, free: 24.22 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.188e-05/0.4647, allocations: 1.906 kB / 0.8205 GB, free: 24.22 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 9.501e-05/0.4647, allocations: 5.297 kB / 0.8205 GB, free: 24.22 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 1.997e-05/0.4648, allocations: 8.594 kB / 0.8205 GB, free: 24.21 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001113/0.4649, allocations: 4.344 kB / 0.8205 GB, free: 24.21 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 8.7e-05/0.465, allocations: 32.73 kB / 0.8206 GB, free: 24.19 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.517e-05/0.4651, allocations: 8.547 kB / 0.8206 GB, free: 24.19 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 5.207e-05/0.4651, allocations: 6.75 kB / 0.8206 GB, free: 24.19 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 5.22e-05/0.4652, allocations: 13.33 kB / 0.8206 GB, free: 24.18 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.4652, allocations: 3.344 kB / 0.8206 GB, free: 24.18 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 8.866e-06/0.4652, allocations: 2.688 kB / 0.8206 GB, free: 24.18 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 6.113e-05/0.4653, allocations: 9.797 kB / 0.8206 GB, free: 24.18 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.435e-05/0.4653, allocations: 11.56 kB / 0.8206 GB, free: 24.17 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 9.475e-05/0.4654, allocations: 34.39 kB / 0.8206 GB, free: 24.15 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.4654, allocations: 0 / 0.8206 GB, free: 24.15 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.994e-06/0.4654, allocations: 4.5 kB / 0.8206 GB, free: 24.15 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.4654, allocations: 1.906 kB / 0.8206 GB, free: 24.15 MB / 0.6355 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.00036/0.4658, allocations: 270.9 kB / 0.8209 GB, free: 23.88 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.4658, allocations: 10.97 kB / 0.8209 GB, free: 23.88 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.822e-05/0.4658, allocations: 2.859 kB / 0.8209 GB, free: 23.88 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.4659, allocations: 112.5 kB / 0.821 GB, free: 23.75 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.4659, allocations: 7.25 kB / 0.821 GB, free: 23.75 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.466, allocations: 1.594 kB / 0.821 GB, free: 23.75 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.4661, allocations: 59.02 kB / 0.8211 GB, free: 23.71 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.4661, allocations: 192 / 0.8211 GB, free: 23.71 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.4661, allocations: 4.547 kB / 0.8211 GB, free: 23.7 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.4661, allocations: 5.188 kB / 0.8211 GB, free: 23.7 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.443e-05/0.4662, allocations: 40.31 kB / 0.8211 GB, free: 23.69 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002978/0.4665, allocations: 247.9 kB / 0.8214 GB, free: 23.45 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.958e-05/0.4666, allocations: 33.8 kB / 0.8214 GB, free: 23.42 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.984e-05/0.4666, allocations: 22.67 kB / 0.8214 GB, free: 23.41 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/0.4667, allocations: 0.6562 kB / 0.8214 GB, free: 23.41 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.459e-05/0.4667, allocations: 35.41 kB / 0.8215 GB, free: 23.37 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.263e-06/0.4667, allocations: 0 / 0.8215 GB, free: 23.37 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0002125/0.4669, allocations: 76.95 kB / 0.8215 GB, free: 23.33 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.247e-05/0.4669, allocations: 52.5 kB / 0.8216 GB, free: 23.27 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.302e-05/0.467, allocations: 102.2 kB / 0.8217 GB, free: 23.16 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.51e-06/0.467, allocations: 29.92 kB / 0.8217 GB, free: 23.13 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.65e-05/0.467, allocations: 94.7 kB / 0.8218 GB, free: 23.04 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.398e-05/0.467, allocations: 1.547 kB / 0.8218 GB, free: 23.04 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.042e-05/0.467, allocations: 12.31 kB / 0.8218 GB, free: 23.02 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.441e-05/0.4671, allocations: 316.6 kB / 0.8221 GB, free: 22.71 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.042e-05/0.4671, allocations: 18.08 kB / 0.8221 GB, free: 22.7 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.011e-05/0.4671, allocations: 14.77 kB / 0.8221 GB, free: 22.7 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.181e-05/0.4672, allocations: 36.11 kB / 0.8222 GB, free: 22.69 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.4672, allocations: 4.703 kB / 0.8222 GB, free: 22.69 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001098/0.4673, allocations: 72.39 kB / 0.8223 GB, free: 22.64 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.4674, allocations: 5.156 kB / 0.8223 GB, free: 22.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.4674, allocations: 1.078 kB / 0.8223 GB, free: 22.64 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.4674, allocations: 0.75 kB / 0.8223 GB, free: 22.64 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.375e-05/0.4674, allocations: 6.828 kB / 0.8223 GB, free: 22.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.4674, allocations: 1.094 kB / 0.8223 GB, free: 22.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.46e-05/0.4675, allocations: 6.734 kB / 0.8223 GB, free: 22.64 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.531e-06/0.4675, allocations: 4.031 kB / 0.8223 GB, free: 22.64 MB / 0.6355 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 4.166e-05/0.4675, allocations: 114.2 kB / 0.8224 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.344e-05/0.4675, allocations: 5.828 kB / 0.8224 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.833e-05/0.4676, allocations: 12.33 kB / 0.8224 GB, free: 22.5 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.4676, allocations: 0.6875 kB / 0.8224 GB, free: 22.5 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.4676, allocations: 1.188 kB / 0.8224 GB, free: 22.5 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-06/0.4676, allocations: 0 / 0.8224 GB, free: 22.5 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.514e-05/0.4676, allocations: 133 kB / 0.8225 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.4676, allocations: 0.9688 kB / 0.8225 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.519e-05/0.4677, allocations: 15.14 kB / 0.8225 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.4677, allocations: 1.359 kB / 0.8226 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.221e-06/0.4677, allocations: 0 / 0.8226 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.42e-07/0.4677, allocations: 1.219 kB / 0.8226 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4677, allocations: 0.75 kB / 0.8226 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001236/0.4678, allocations: 163.4 kB / 0.8227 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.125e-06/0.4678, allocations: 9.656 kB / 0.8227 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.778e-06/0.4678, allocations: 1.766 kB / 0.8227 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.764e-05/0.4679, allocations: 6.328 kB / 0.8227 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.141e-05/0.4679, allocations: 2.375 kB / 0.8227 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.4679, allocations: 0.9375 kB / 0.8227 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.031e-05/0.4679, allocations: 80.19 kB / 0.8228 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4679, allocations: 0 / 0.8228 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001422/0.4681, allocations: 8.078 kB / 0.8228 GB, free: 22.11 MB / 0.6355 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.228e-05/0.4682, allocations: 102.3 kB / 0.8229 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001366/0.4683, allocations: 28.73 kB / 0.8229 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.4683, allocations: 4 kB / 0.8229 GB, free: 22 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.729e-05/0.4683, allocations: 19.78 kB / 0.823 GB, free: 22 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001988/0.4685, allocations: 9.688 kB / 0.823 GB, free: 22 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002516/0.4688, allocations: 137.7 kB / 0.8231 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.851e-05/0.4689, allocations: 0.6839 MB / 0.8238 GB, free: 21.15 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.446e-05/0.4689, allocations: 12.56 kB / 0.8238 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of SimCode: time 6.62e-07/0.4689, allocations: 0 / 0.8238 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of Templates: time 0.001725/0.4706, allocations: 0.5702 MB / 0.8243 GB, free: 21.11 MB / 0.6355 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.628623052034527] Failed to read output from testmodel.py, exit status != 0: 0.4795562101062387 0.49233104800000005 0.024438484 Calling exit ...