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.0007499/0.0007499, allocations: 80.44 kB / 19.91 MB, free: 0 / 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.0008051/0.0008051, allocations: 173.2 kB / 23.2 MB, free: 1.367 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.9007/0.9007, allocations: 177.2 MB / 203.6 MB, free: 5.762 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:686: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:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7098/0.7098, allocations: 154.9 MB / 414.9 MB, free: 0.5352 MB / 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.0008975/0.0008975, allocations: 71.98 kB / 0.6198 GB, free: 12.81 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.4607/0.4616, allocations: 102 MB / 0.7194 GB, free: 23.43 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001331/0.463, allocations: 0.6492 MB / 0.7201 GB, free: 23.02 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0007301/0.4637, allocations: 0.8528 MB / 0.7209 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.621e-05/0.4637, allocations: 1.031 kB / 0.7209 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 9.926e-05/0.4638, allocations: 5.938 kB / 0.7209 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 2.103e-05/0.4639, allocations: 4.547 kB / 0.7209 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001734/0.464, allocations: 17.47 kB / 0.7209 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 8.616e-05/0.4641, allocations: 32.89 kB / 0.721 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.4642, allocations: 9.141 kB / 0.721 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 8.013e-05/0.4643, allocations: 26.28 kB / 0.721 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 7.29e-05/0.4644, allocations: 14.09 kB / 0.721 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.125e-05/0.4644, allocations: 6.438 kB / 0.721 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.197e-05/0.4644, allocations: 3.594 kB / 0.721 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 6.041e-05/0.4645, allocations: 12.11 kB / 0.721 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.303e-05/0.4645, allocations: 12.92 kB / 0.721 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001185/0.4646, allocations: 44.66 kB / 0.7211 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.4646, allocations: 0 / 0.7211 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4646, allocations: 0 / 0.7211 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.4646, allocations: 4.906 kB / 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.0004022/0.465, allocations: 278.3 kB / 0.7213 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.4651, allocations: 14.16 kB / 0.7214 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.27e-05/0.4651, allocations: 3.156 kB / 0.7214 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.4653, allocations: 118.1 kB / 0.7215 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.279e-05/0.4653, allocations: 1.656 kB / 0.7215 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.532e-05/0.4653, allocations: 2.969 kB / 0.7215 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.4655, allocations: 66.89 kB / 0.7215 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.4655, allocations: 0.8438 kB / 0.7215 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.4655, allocations: 5.062 kB / 0.7216 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.4655, allocations: 7.922 kB / 0.7216 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001076/0.4656, allocations: 48.95 kB / 0.7216 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002541/0.4658, allocations: 220.2 kB / 0.7218 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.424e-05/0.4659, allocations: 43.05 kB / 0.7219 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.139e-05/0.466, allocations: 25.31 kB / 0.7219 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.579e-05/0.466, allocations: 1.188 kB / 0.7219 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.509e-05/0.466, allocations: 32.73 kB / 0.7219 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.463e-06/0.466, allocations: 0 / 0.7219 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.000257/0.4663, allocations: 92.14 kB / 0.722 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.61e-05/0.4663, allocations: 53.36 kB / 0.7221 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.672e-05/0.4663, allocations: 106.5 kB / 0.7222 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.645e-06/0.4663, allocations: 26.98 kB / 0.7222 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.958e-05/0.4664, allocations: 90.36 kB / 0.7223 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.413e-05/0.4664, allocations: 5.922 kB / 0.7223 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.763e-05/0.4664, allocations: 19.86 kB / 0.7223 GB, free: 21.15 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.537e-05/0.4665, allocations: 312.8 kB / 0.7226 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.053e-05/0.4665, allocations: 23.36 kB / 0.7226 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.277e-05/0.4665, allocations: 15.62 kB / 0.7226 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.568e-05/0.4666, allocations: 44.66 kB / 0.7227 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.4666, allocations: 5.031 kB / 0.7227 GB, free: 20.81 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001252/0.4668, allocations: 70.09 kB / 0.7227 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.4668, allocations: 5.281 kB / 0.7227 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.4668, allocations: 1.125 kB / 0.7227 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.4668, allocations: 0 / 0.7227 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.822e-05/0.4669, allocations: 18.03 kB / 0.7228 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.296e-05/0.4669, allocations: 0.6094 kB / 0.7228 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.503e-05/0.4669, allocations: 11.09 kB / 0.7228 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.4669, allocations: 0.7031 kB / 0.7228 GB, free: 20.76 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 0.0001031/0.4671, allocations: 119 kB / 0.7229 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.357e-05/0.4671, allocations: 6.344 kB / 0.7229 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.778e-05/0.4671, allocations: 7.781 kB / 0.7229 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.4671, allocations: 3.031 kB / 0.7229 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.4671, allocations: 3.938 kB / 0.7229 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.973e-06/0.4671, allocations: 0.5625 kB / 0.7229 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.4671, allocations: 6.062 kB / 0.7229 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.331e-05/0.4672, allocations: 5.469 kB / 0.7229 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.734e-05/0.4672, allocations: 9.859 kB / 0.7229 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001479/0.4674, allocations: 153.9 kB / 0.7231 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001411/0.4675, allocations: 244.5 kB / 0.7233 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.489e-05/0.4676, allocations: 20.95 kB / 0.7233 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.328e-05/0.4676, allocations: 80.17 kB / 0.7234 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of Backend: time 1.2e-07/0.4676, allocations: 1.094 kB / 0.7234 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003003/0.4679, allocations: 99.05 kB / 0.7235 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0003615/0.4683, allocations: 0.5663 MB / 0.7241 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of Templates: time 0.002321/0.4706, allocations: 0.7594 MB / 0.7248 GB, free: 19.46 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: 4.105502818943933] Failed to read output from testmodel.py, exit status != 0: 0.4759519409853965 0.487994616 0.020545234000000002 Calling exit ...