Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.000793/0.000793, 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.001244/0.001244, allocations: 169.2 kB / 23.19 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.915/0.915, allocations: 177.2 MB / 203.6 MB, free: 5.77 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.7454/0.7454, allocations: 154.7 MB / 414.7 MB, free: 0.7422 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_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_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.001008/0.001008, allocations: 67.89 kB / 0.6196 GB, free: 13.11 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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.4717/0.4727, allocations: 101.9 MB / 0.7191 GB, free: 23.63 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001301/0.474, allocations: 0.6594 MB / 0.7197 GB, free: 23.23 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0007223/0.4747, allocations: 0.8574 MB / 0.7206 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.761e-05/0.4747, allocations: 1.156 kB / 0.7206 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 8.799e-05/0.4748, allocations: 4.594 kB / 0.7206 GB, free: 22.58 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 1.833e-05/0.4748, allocations: 4.969 kB / 0.7206 GB, free: 22.58 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001596/0.475, allocations: 25.59 kB / 0.7206 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 7.436e-05/0.4751, allocations: 36.66 kB / 0.7206 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000154/0.4752, allocations: 9.172 kB / 0.7207 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000112/0.4753, allocations: 18.88 kB / 0.7207 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 7.38e-05/0.4754, allocations: 17.42 kB / 0.7207 GB, free: 22.53 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.266e-05/0.4754, allocations: 2.156 kB / 0.7207 GB, free: 22.53 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.015e-05/0.4754, allocations: 3.812 kB / 0.7207 GB, free: 22.53 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 5.819e-05/0.4755, allocations: 13.2 kB / 0.7207 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.279e-05/0.4755, allocations: 13.78 kB / 0.7207 GB, free: 22.51 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001151/0.4756, allocations: 39.5 kB / 0.7208 GB, free: 22.5 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.4757, allocations: 4 kB / 0.7208 GB, free: 22.49 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.215e-06/0.4757, allocations: 3.938 kB / 0.7208 GB, free: 22.49 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.4757, allocations: 0 / 0.7208 GB, free: 22.49 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.0003453/0.476, allocations: 274.3 kB / 0.721 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.4761, allocations: 9.406 kB / 0.721 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.027e-05/0.4761, allocations: 3.188 kB / 0.721 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/0.4762, allocations: 121.3 kB / 0.7212 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.4762, allocations: 2.594 kB / 0.7212 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/0.4762, allocations: 3.188 kB / 0.7212 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.4764, allocations: 70.61 kB / 0.7212 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.4764, allocations: 192 / 0.7212 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.4764, allocations: 8.969 kB / 0.7212 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.4764, allocations: 1.031 kB / 0.7212 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001114/0.4765, allocations: 39.62 kB / 0.7213 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002579/0.4768, allocations: 221.2 kB / 0.7215 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.653e-05/0.4769, allocations: 39.59 kB / 0.7215 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.535e-05/0.4769, allocations: 29 kB / 0.7216 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.4769, allocations: 0.6094 kB / 0.7216 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.579e-05/0.4769, allocations: 32.94 kB / 0.7216 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.4769, allocations: 3.938 kB / 0.7216 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002604/0.4772, allocations: 96.44 kB / 0.7217 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.604e-05/0.4772, allocations: 53.09 kB / 0.7217 GB, free: 21.6 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.477e-05/0.4773, allocations: 106.9 kB / 0.7218 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.534e-06/0.4773, allocations: 25.7 kB / 0.7219 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.963e-05/0.4773, allocations: 87.47 kB / 0.7219 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.467e-05/0.4773, allocations: 9.672 kB / 0.7219 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.981e-05/0.4774, allocations: 15.56 kB / 0.722 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.902e-05/0.4774, allocations: 313.5 kB / 0.7223 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.194e-05/0.4775, allocations: 18.95 kB / 0.7223 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.491e-05/0.4775, allocations: 20.25 kB / 0.7223 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.115e-05/0.4776, allocations: 48.48 kB / 0.7223 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.4776, allocations: 3.938 kB / 0.7224 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001167/0.4777, allocations: 70.7 kB / 0.7224 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.4777, allocations: 8.406 kB / 0.7224 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.4777, allocations: 3.984 kB / 0.7224 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.4777, allocations: 0.9531 kB / 0.7224 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.824e-05/0.4778, allocations: 14.44 kB / 0.7224 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.916e-06/0.4778, allocations: 4 kB / 0.7224 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.936e-05/0.4779, allocations: 11.25 kB / 0.7225 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.391e-06/0.4779, allocations: 0 / 0.7225 GB, free: 20.96 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 9.877e-05/0.478, allocations: 116.8 kB / 0.7226 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.504e-05/0.478, allocations: 2.016 kB / 0.7226 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.81e-05/0.478, allocations: 13.45 kB / 0.7226 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.478, allocations: 0 / 0.7226 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.478, allocations: 0 / 0.7226 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.553e-06/0.478, allocations: 2.203 kB / 0.7226 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.169e-05/0.478, allocations: 6.25 kB / 0.7226 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.207e-05/0.4781, allocations: 5.281 kB / 0.7226 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.081e-05/0.4781, allocations: 17.48 kB / 0.7226 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001448/0.4783, allocations: 147 kB / 0.7228 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001332/0.4784, allocations: 239.2 kB / 0.723 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.358e-05/0.4785, allocations: 29.36 kB / 0.723 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.908e-05/0.4785, allocations: 85.3 kB / 0.7231 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of Backend: time 5.01e-07/0.4785, allocations: 0 / 0.7231 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002782/0.4787, allocations: 91.31 kB / 0.7232 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0003352/0.4791, allocations: 0.5703 MB / 0.7237 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of Templates: time 0.002423/0.4815, allocations: 0.754 MB / 0.7245 GB, free: 19.65 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.301217367174104] Failed to read output from testmodel.py, exit status != 0: 0.48734153201803565 0.496335055 0.018572726 Calling exit ...