Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.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.001157/0.001157, 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.001248/0.001248, allocations: 203.9 kB / 23 MB, free: 3.125 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.9/0.9, allocations: 230.6 MB / 256.8 MB, free: 3.473 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.7394/0.7394, allocations: 203.8 MB / 0.5049 GB, free: 0.707 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.IntegerScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") translateModel(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") [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.0008827/0.0008827, allocations: 71.89 kB / 0.7195 GB, free: 14.43 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4249/0.4258, allocations: 102 MB / 0.8191 GB, free: 25.21 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001434/0.4272, allocations: 0.6572 MB / 0.8197 GB, free: 24.81 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0006703/0.4279, allocations: 0.8612 MB / 0.8206 GB, free: 24.16 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.376e-05/0.4279, allocations: 1.844 kB / 0.8206 GB, free: 24.16 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 8.474e-05/0.428, allocations: 5.062 kB / 0.8206 GB, free: 24.16 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 1.774e-05/0.428, allocations: 5.875 kB / 0.8206 GB, free: 24.16 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001424/0.4282, allocations: 28.73 kB / 0.8206 GB, free: 24.14 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 7.534e-05/0.4282, allocations: 29.78 kB / 0.8206 GB, free: 24.12 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 8.821e-05/0.4283, allocations: 10.27 kB / 0.8206 GB, free: 24.12 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 4.607e-05/0.4284, allocations: 15.48 kB / 0.8207 GB, free: 24.11 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 5.378e-05/0.4284, allocations: 21.55 kB / 0.8207 GB, free: 24.1 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.4284, allocations: 2.531 kB / 0.8207 GB, free: 24.1 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 9.087e-06/0.4284, allocations: 4.094 kB / 0.8207 GB, free: 24.1 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 5.013e-05/0.4285, allocations: 13.84 kB / 0.8207 GB, free: 24.09 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.287e-05/0.4285, allocations: 13.91 kB / 0.8207 GB, free: 24.09 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 8.494e-05/0.4286, allocations: 38.41 kB / 0.8207 GB, free: 24.07 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.4286, allocations: 0 / 0.8207 GB, free: 24.07 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.412e-06/0.4286, allocations: 0.5 kB / 0.8207 GB, free: 24.07 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.4286, allocations: 1.938 kB / 0.8207 GB, free: 24.07 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003092/0.4289, allocations: 280.7 kB / 0.821 GB, free: 23.79 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.429, allocations: 13.06 kB / 0.821 GB, free: 23.79 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.583e-05/0.429, allocations: 2.875 kB / 0.821 GB, free: 23.79 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.138e-05/0.4291, allocations: 117.9 kB / 0.8211 GB, free: 23.66 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.4291, allocations: 6.562 kB / 0.8211 GB, free: 23.66 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.032e-05/0.4291, allocations: 2.062 kB / 0.8211 GB, free: 23.66 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.4292, allocations: 70 kB / 0.8212 GB, free: 23.61 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.191e-06/0.4292, allocations: 192 / 0.8212 GB, free: 23.61 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.268e-06/0.4293, allocations: 4.719 kB / 0.8212 GB, free: 23.61 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.4293, allocations: 0.5312 kB / 0.8212 GB, free: 23.61 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.4294, allocations: 47.53 kB / 0.8213 GB, free: 23.6 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002403/0.4296, allocations: 243.7 kB / 0.8215 GB, free: 23.36 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.561e-05/0.4297, allocations: 43.11 kB / 0.8215 GB, free: 23.32 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.78e-05/0.4297, allocations: 22.66 kB / 0.8216 GB, free: 23.32 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.231e-05/0.4297, allocations: 0 / 0.8216 GB, free: 23.32 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.164e-05/0.4298, allocations: 34.55 kB / 0.8216 GB, free: 23.28 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 6.21e-07/0.4298, allocations: 1.062 kB / 0.8216 GB, free: 23.28 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.000211/0.43, allocations: 98.05 kB / 0.8217 GB, free: 23.23 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.743e-05/0.43, allocations: 51.97 kB / 0.8217 GB, free: 23.16 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.696e-05/0.43, allocations: 107 kB / 0.8218 GB, free: 23.06 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.16e-06/0.43, allocations: 30.94 kB / 0.8219 GB, free: 23.02 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.216e-05/0.4301, allocations: 86.91 kB / 0.822 GB, free: 22.94 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.174e-05/0.4301, allocations: 5.422 kB / 0.822 GB, free: 22.93 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.343e-05/0.4301, allocations: 18.78 kB / 0.822 GB, free: 22.91 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.81e-05/0.4301, allocations: 316.9 kB / 0.8223 GB, free: 22.6 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.519e-05/0.4302, allocations: 19.81 kB / 0.8223 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.1e-05/0.4302, allocations: 19.33 kB / 0.8223 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.831e-05/0.4303, allocations: 44.27 kB / 0.8224 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.4303, allocations: 4.5 kB / 0.8224 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001105/0.4304, allocations: 78.56 kB / 0.8224 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.4304, allocations: 7.875 kB / 0.8224 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.4304, allocations: 0.75 kB / 0.8224 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.4304, allocations: 4.031 kB / 0.8224 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.593e-05/0.4305, allocations: 8.625 kB / 0.8225 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.4305, allocations: 1.188 kB / 0.8225 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.424e-05/0.4305, allocations: 5.922 kB / 0.8225 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.72e-06/0.4305, allocations: 5.906 kB / 0.8225 GB, free: 22.52 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: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 5.902e-05/0.4306, allocations: 114.6 kB / 0.8226 GB, free: 22.4 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.231e-05/0.4306, allocations: 2.312 kB / 0.8226 GB, free: 22.4 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.431e-05/0.4306, allocations: 12.44 kB / 0.8226 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.4306, allocations: 5.906 kB / 0.8226 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.4306, allocations: 0 / 0.8226 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.4306, allocations: 0 / 0.8226 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.436e-05/0.4307, allocations: 141 kB / 0.8227 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.4307, allocations: 0.7969 kB / 0.8227 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.861e-05/0.4307, allocations: 13.77 kB / 0.8227 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.4307, allocations: 0 / 0.8227 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.4307, allocations: 1.703 kB / 0.8227 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.01e-07/0.4307, allocations: 0 / 0.8227 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.01e-07/0.4308, allocations: 0.9375 kB / 0.8227 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001234/0.4309, allocations: 177.9 kB / 0.8229 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.341e-06/0.4309, allocations: 9.656 kB / 0.8229 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.378e-06/0.4309, allocations: 1.906 kB / 0.8229 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.964e-05/0.4309, allocations: 7 kB / 0.8229 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.064e-05/0.431, allocations: 3.078 kB / 0.8229 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.431, allocations: 6.766 kB / 0.8229 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.568e-05/0.431, allocations: 87.84 kB / 0.823 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.431, allocations: 0.9688 kB / 0.823 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001324/0.4311, allocations: 4.281 kB / 0.823 GB, free: 21.97 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: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 5.793e-05/0.4312, allocations: 99.53 kB / 0.8231 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001258/0.4313, allocations: 50.17 kB / 0.8232 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.4313, allocations: 4.625 kB / 0.8232 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.615e-05/0.4314, allocations: 18.78 kB / 0.8232 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001646/0.4315, allocations: 10.06 kB / 0.8232 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002291/0.4317, allocations: 143.8 kB / 0.8233 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.737e-05/0.4318, allocations: 0.6797 MB / 0.824 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.613e-05/0.4318, allocations: 11.19 kB / 0.824 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of SimCode: time 3.7e-07/0.4318, allocations: 4.062 kB / 0.824 GB, free: 21 MB / 0.6355 GB Notification: Performance of Templates: time 0.001544/0.4334, allocations: 0.6717 MB / 0.8247 GB, free: 20.97 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.552348003024235] Failed to read output from testmodel.py, exit status != 0: 0.4385610951576382 0.44573535000000003 0.015534815 Calling exit ...