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.0006553/0.0006553, allocations: 76.45 kB / 19.91 MB, free: 16 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.0007718/0.0007718, allocations: 165.9 kB / 23.18 MB, free: 1.387 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 0.875/0.875, allocations: 177.2 MB / 203.6 MB, free: 5.754 MB / 186.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.7354/0.7354, allocations: 155 MB / 415 MB, free: 500 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 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.0008994/0.0008994, allocations: 68.03 kB / 0.6199 GB, free: 12.73 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4555/0.4564, allocations: 102 MB / 0.7195 GB, free: 23.42 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001432/0.4578, allocations: 0.6507 MB / 0.7201 GB, free: 23.02 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0007249/0.4585, allocations: 0.8494 MB / 0.7209 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.952e-05/0.4586, allocations: 1.156 kB / 0.7209 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 9.901e-05/0.4587, allocations: 8.578 kB / 0.7209 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 2.171e-05/0.4587, allocations: 14.14 kB / 0.721 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.000172/0.4589, allocations: 20.56 kB / 0.721 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 7.946e-05/0.4589, allocations: 28.17 kB / 0.721 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.4591, allocations: 9.953 kB / 0.721 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 6.674e-05/0.4591, allocations: 13.95 kB / 0.721 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 6.691e-05/0.4592, allocations: 21.27 kB / 0.721 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.4592, allocations: 3.094 kB / 0.721 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.011e-05/0.4592, allocations: 3.5 kB / 0.7211 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 5.672e-05/0.4593, allocations: 13.72 kB / 0.7211 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.228e-05/0.4593, allocations: 11.95 kB / 0.7211 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001229/0.4594, allocations: 51.95 kB / 0.7211 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.4594, allocations: 1.062 kB / 0.7211 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.805e-06/0.4594, allocations: 0.75 kB / 0.7211 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.4594, allocations: 0 / 0.7211 GB, free: 22.29 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.0003898/0.4598, allocations: 278 kB / 0.7214 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.4599, allocations: 10.28 kB / 0.7214 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.268e-05/0.4599, allocations: 3.906 kB / 0.7214 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.46, allocations: 117.5 kB / 0.7215 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.23e-05/0.4601, allocations: 2.469 kB / 0.7215 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.361e-05/0.4601, allocations: 14.52 kB / 0.7215 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.4602, allocations: 58.41 kB / 0.7216 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.4602, allocations: 1.375 kB / 0.7216 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.4603, allocations: 20.38 kB / 0.7216 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.4603, allocations: 1.188 kB / 0.7216 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001229/0.4604, allocations: 39.14 kB / 0.7216 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002891/0.4607, allocations: 222.6 kB / 0.7219 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.752e-05/0.4608, allocations: 50.94 kB / 0.7219 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.527e-05/0.4608, allocations: 20.88 kB / 0.7219 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.541e-05/0.4608, allocations: 0 / 0.7219 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.629e-05/0.4609, allocations: 37.39 kB / 0.722 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.253e-06/0.4609, allocations: 0 / 0.722 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002596/0.4611, allocations: 89.12 kB / 0.722 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.457e-05/0.4611, allocations: 55.53 kB / 0.7221 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.423e-05/0.4612, allocations: 104 kB / 0.7222 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.632e-06/0.4612, allocations: 30.61 kB / 0.7222 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.908e-05/0.4612, allocations: 83.39 kB / 0.7223 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.583e-05/0.4613, allocations: 9.141 kB / 0.7223 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.549e-05/0.4613, allocations: 14.91 kB / 0.7223 GB, free: 21.15 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.594e-05/0.4613, allocations: 313.2 kB / 0.7226 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.795e-05/0.4614, allocations: 19.61 kB / 0.7227 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.787e-05/0.4614, allocations: 19.92 kB / 0.7227 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.744e-05/0.4615, allocations: 48.33 kB / 0.7227 GB, free: 20.81 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.4615, allocations: 0 / 0.7227 GB, free: 20.81 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001128/0.4616, allocations: 71.12 kB / 0.7228 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.4617, allocations: 5.406 kB / 0.7228 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.4617, allocations: 1.219 kB / 0.7228 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.4617, allocations: 0 / 0.7228 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.734e-05/0.4618, allocations: 17.36 kB / 0.7228 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.4618, allocations: 1.219 kB / 0.7228 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.919e-05/0.4618, allocations: 14.14 kB / 0.7228 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-06/0.4618, allocations: 1.344 kB / 0.7228 GB, free: 20.75 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 7.059e-05/0.4619, allocations: 115.5 kB / 0.7229 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.144e-05/0.4619, allocations: 2.156 kB / 0.7229 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.64e-05/0.4619, allocations: 11.78 kB / 0.7229 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.736e-06/0.4619, allocations: 1.547 kB / 0.7229 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.4619, allocations: 0 / 0.7229 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.4619, allocations: 9.125 kB / 0.723 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.721e-05/0.462, allocations: 111.5 kB / 0.7231 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.462, allocations: 1.828 kB / 0.7231 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.493e-05/0.462, allocations: 8.5 kB / 0.7231 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.462, allocations: 0.5625 kB / 0.7231 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.462, allocations: 1.031 kB / 0.7231 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.462, allocations: 1.047 kB / 0.7231 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.61e-07/0.462, allocations: 1.156 kB / 0.7231 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001392/0.4622, allocations: 174.4 kB / 0.7232 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.704e-06/0.4622, allocations: 15.31 kB / 0.7233 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.638e-06/0.4622, allocations: 0 / 0.7233 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.027e-05/0.4622, allocations: 6.891 kB / 0.7233 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.669e-05/0.4623, allocations: 9.438 kB / 0.7233 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-06/0.4623, allocations: 1.219 kB / 0.7233 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.878e-05/0.4623, allocations: 80.8 kB / 0.7234 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4623, allocations: 0 / 0.7234 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001467/0.4624, allocations: 12.91 kB / 0.7234 GB, free: 20.25 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 7.752e-05/0.4625, allocations: 98.88 kB / 0.7235 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001406/0.4627, allocations: 38.72 kB / 0.7235 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.4627, allocations: 1.156 kB / 0.7235 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.034e-05/0.4627, allocations: 25.16 kB / 0.7235 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001807/0.4629, allocations: 12.41 kB / 0.7235 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002455/0.4631, allocations: 145.9 kB / 0.7237 GB, free: 19.99 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.833e-05/0.4632, allocations: 68.25 kB / 0.7237 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.86e-05/0.4632, allocations: 10.84 kB / 0.7237 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of SimCode: time 6.21e-07/0.4632, allocations: 0 / 0.7237 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of Templates: time 0.001745/0.465, allocations: 0.704 MB / 0.7244 GB, free: 19.86 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.375094712944701] Failed to read output from testmodel.py, exit status != 0: 0.4701255050022155 0.479026396 0.017723269 Calling exit ...