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.0006864/0.0006864, allocations: 100.4 kB / 19.7 MB, free: 452 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.0007036/0.0007036, allocations: 212.6 kB / 23 MB, free: 2.98 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.8773/0.8773, allocations: 230.6 MB / 256.8 MB, free: 9.594 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.7096/0.7096, allocations: 203.8 MB / 0.5049 GB, free: 10.44 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.0008583/0.0008583, allocations: 63.66 kB / 0.7194 GB, free: 3.535 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3796/0.3804, allocations: 102 MB / 0.819 GB, free: 1.324 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001248/0.3817, allocations: 0.6422 MB / 0.8196 GB, free: 0.9258 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000555/0.3822, allocations: 0.8195 MB / 0.8204 GB, free: 316 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.09e-05/0.3823, allocations: 0 / 0.8204 GB, free: 316 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 8.652e-05/0.3824, allocations: 4.5 kB / 0.8204 GB, free: 312 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 1.703e-05/0.3824, allocations: 1.703 kB / 0.8204 GB, free: 312 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 9.873e-05/0.3825, allocations: 7.578 kB / 0.8204 GB, free: 308 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.527e-05/0.3826, allocations: 26.17 kB / 0.8205 GB, free: 296 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.739e-05/0.3826, allocations: 3.547 kB / 0.8205 GB, free: 296 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.957e-05/0.3827, allocations: 13.16 kB / 0.8205 GB, free: 288 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.54e-05/0.3827, allocations: 15.08 kB / 0.8205 GB, free: 280 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.207e-05/0.3827, allocations: 2.562 kB / 0.8205 GB, free: 280 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.011e-06/0.3827, allocations: 7.156 kB / 0.8205 GB, free: 276 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.517e-05/0.3828, allocations: 9.625 kB / 0.8205 GB, free: 272 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.323e-05/0.3828, allocations: 9.109 kB / 0.8205 GB, free: 264 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.411e-05/0.3829, allocations: 25.89 kB / 0.8206 GB, free: 256 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.3829, allocations: 3.5 kB / 0.8206 GB, free: 256 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.654e-06/0.3829, allocations: 0 / 0.8206 GB, free: 256 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.3829, allocations: 3.938 kB / 0.8206 GB, free: 252 kB / 0.6042 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.0003038/0.3832, allocations: 267.6 kB / 0.8208 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.3832, allocations: 10 kB / 0.8208 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.711e-05/0.3833, allocations: 11.8 kB / 0.8208 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.3834, allocations: 108.6 kB / 0.8209 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.148e-06/0.3834, allocations: 1.844 kB / 0.8209 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.875e-06/0.3834, allocations: 2.188 kB / 0.8209 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001269/0.3835, allocations: 57.33 kB / 0.821 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.3835, allocations: 192 / 0.821 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.946e-06/0.3835, allocations: 3.938 kB / 0.821 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.3835, allocations: 3.281 kB / 0.821 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.977e-05/0.3836, allocations: 33.69 kB / 0.821 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002626/0.3839, allocations: 226.1 kB / 0.8213 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.496e-05/0.3839, allocations: 30.84 kB / 0.8213 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.502e-05/0.384, allocations: 27.02 kB / 0.8213 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.007e-05/0.384, allocations: 0 / 0.8213 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.822e-05/0.384, allocations: 37.62 kB / 0.8213 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 6.01e-07/0.384, allocations: 3.938 kB / 0.8213 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0002006/0.3842, allocations: 75.2 kB / 0.8214 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.655e-05/0.3842, allocations: 53.53 kB / 0.8215 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.697e-05/0.3843, allocations: 101.7 kB / 0.8216 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.877e-06/0.3843, allocations: 25.7 kB / 0.8216 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.461e-05/0.3843, allocations: 98.45 kB / 0.8217 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.296e-05/0.3844, allocations: 0.75 kB / 0.8217 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.068e-05/0.3844, allocations: 12.38 kB / 0.8217 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.891e-05/0.3844, allocations: 315.4 kB / 0.822 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.387e-05/0.3845, allocations: 19.12 kB / 0.822 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.388e-05/0.3845, allocations: 16.3 kB / 0.822 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.363e-05/0.3846, allocations: 38.23 kB / 0.8221 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3846, allocations: 3.938 kB / 0.8221 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.22e-05/0.3847, allocations: 60.77 kB / 0.8221 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.3847, allocations: 10.06 kB / 0.8221 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.3847, allocations: 0 / 0.8221 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.3847, allocations: 6.469 kB / 0.8221 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.238e-05/0.3848, allocations: 5.672 kB / 0.8222 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.3848, allocations: 0 / 0.8222 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.02e-05/0.3848, allocations: 7.328 kB / 0.8222 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.047e-06/0.3848, allocations: 0 / 0.8222 GB, free: 14.76 MB / 0.6198 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.787e-05/0.3848, allocations: 117.6 kB / 0.8223 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.144e-05/0.3849, allocations: 6.344 kB / 0.8223 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.717e-05/0.3849, allocations: 15.75 kB / 0.8223 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.3849, allocations: 3.188 kB / 0.8223 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.3849, allocations: 0.7031 kB / 0.8223 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-06/0.3849, allocations: 0 / 0.8223 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.997e-05/0.385, allocations: 111.5 kB / 0.8224 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.385, allocations: 8 kB / 0.8224 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.254e-05/0.385, allocations: 4.406 kB / 0.8224 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.385, allocations: 3.5 kB / 0.8224 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/0.385, allocations: 0.8906 kB / 0.8224 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.1e-07/0.385, allocations: 0 / 0.8224 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.385, allocations: 4 kB / 0.8224 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001227/0.3851, allocations: 155.6 kB / 0.8226 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.049e-06/0.3851, allocations: 5.953 kB / 0.8226 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.885e-06/0.3851, allocations: 0.5625 kB / 0.8226 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.495e-05/0.3852, allocations: 7.484 kB / 0.8226 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.936e-05/0.3852, allocations: 4.703 kB / 0.8226 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.3852, allocations: 5.844 kB / 0.8226 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.545e-05/0.3852, allocations: 81.78 kB / 0.8227 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.3852, allocations: 4.031 kB / 0.8227 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001319/0.3854, allocations: 3.281 kB / 0.8227 GB, free: 14.25 MB / 0.6198 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 7.28e-05/0.3854, allocations: 96.48 kB / 0.8228 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001172/0.3855, allocations: 34.84 kB / 0.8228 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.3855, allocations: 0 / 0.8228 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.706e-05/0.3856, allocations: 18.03 kB / 0.8228 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001967/0.3858, allocations: 11.44 kB / 0.8228 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002446/0.386, allocations: 138.2 kB / 0.823 GB, free: 14 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.607e-05/0.3861, allocations: 63.08 kB / 0.823 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.351e-05/0.3861, allocations: 9.359 kB / 0.823 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of SimCode: time 3.9e-07/0.3861, allocations: 0 / 0.823 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of Templates: time 0.001385/0.3875, allocations: 0.581 MB / 0.8236 GB, free: 13.89 MB / 0.6198 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.266931876074523] Failed to read output from testmodel.py, exit status != 0: 0.39219585387036204 0.401518433 0.016219232 Calling exit ...