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.001047/0.001047, allocations: 80.44 kB / 19.9 MB, free: 12 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.001249/0.001249, allocations: 169.8 kB / 23.18 MB, free: 1.383 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.9263/0.9263, allocations: 177.2 MB / 203.6 MB, free: 5.781 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.7214/0.7214, allocations: 154.7 MB / 414.7 MB, free: 0.7539 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.001092/0.001092, allocations: 71.91 kB / 0.6195 GB, free: 13.14 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.5692/0.5703, allocations: 101.9 MB / 0.7191 GB, free: 23.64 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001541/0.5719, allocations: 0.6561 MB / 0.7197 GB, free: 23.24 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.00091/0.5728, allocations: 0.8535 MB / 0.7206 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.672e-05/0.5728, allocations: 0.875 kB / 0.7206 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001134/0.573, allocations: 5.547 kB / 0.7206 GB, free: 22.6 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 2.222e-05/0.573, allocations: 5.094 kB / 0.7206 GB, free: 22.6 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001914/0.5732, allocations: 19.86 kB / 0.7206 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 8.946e-05/0.5733, allocations: 30.06 kB / 0.7206 GB, free: 22.58 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.5734, allocations: 20.19 kB / 0.7206 GB, free: 22.56 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 6.894e-05/0.5734, allocations: 19.16 kB / 0.7207 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 6.87e-05/0.5735, allocations: 15.64 kB / 0.7207 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.211e-05/0.5735, allocations: 3.406 kB / 0.7207 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.004e-05/0.5735, allocations: 2.719 kB / 0.7207 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 6.285e-05/0.5736, allocations: 10.44 kB / 0.7207 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.285e-05/0.5736, allocations: 16.53 kB / 0.7207 GB, free: 22.53 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001137/0.5738, allocations: 39.48 kB / 0.7207 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.5738, allocations: 0 / 0.7207 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.704e-06/0.5738, allocations: 0 / 0.7207 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.465e-06/0.5738, allocations: 0 / 0.7207 GB, free: 22.52 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.0003984/0.5742, allocations: 281.9 kB / 0.721 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.5742, allocations: 13.62 kB / 0.721 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.321e-05/0.5742, allocations: 6.969 kB / 0.721 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/0.5744, allocations: 114.2 kB / 0.7211 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/0.5744, allocations: 6.625 kB / 0.7211 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.348e-05/0.5744, allocations: 2.594 kB / 0.7211 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.5746, allocations: 66.09 kB / 0.7212 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.5746, allocations: 1.844 kB / 0.7212 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.5746, allocations: 11.88 kB / 0.7212 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.5746, allocations: 1.188 kB / 0.7212 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001173/0.5747, allocations: 43.3 kB / 0.7213 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003192/0.575, allocations: 221.3 kB / 0.7215 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.5751, allocations: 43.41 kB / 0.7215 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.984e-05/0.5752, allocations: 25.25 kB / 0.7215 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.5752, allocations: 4.562 kB / 0.7215 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.5752, allocations: 32.84 kB / 0.7216 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.462e-06/0.5752, allocations: 0 / 0.7216 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.000311/0.5756, allocations: 88.61 kB / 0.7217 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.5756, allocations: 52.59 kB / 0.7217 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.74e-05/0.5757, allocations: 108.6 kB / 0.7218 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.386e-06/0.5757, allocations: 29.64 kB / 0.7218 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.987e-05/0.5757, allocations: 87.98 kB / 0.7219 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.957e-05/0.5757, allocations: 9.422 kB / 0.7219 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.586e-05/0.5758, allocations: 14.09 kB / 0.722 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.608e-05/0.5758, allocations: 317.2 kB / 0.7223 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.114e-05/0.5759, allocations: 15.91 kB / 0.7223 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.339e-05/0.5759, allocations: 19.97 kB / 0.7223 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001073/0.576, allocations: 44.33 kB / 0.7223 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.576, allocations: 8 kB / 0.7223 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001425/0.5762, allocations: 70.72 kB / 0.7224 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.5762, allocations: 7.906 kB / 0.7224 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.5762, allocations: 0 / 0.7224 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/0.5762, allocations: 1.062 kB / 0.7224 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.5763, allocations: 13.12 kB / 0.7224 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.5763, allocations: 1.5 kB / 0.7224 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.19e-05/0.5764, allocations: 9.031 kB / 0.7224 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.5764, allocations: 6.047 kB / 0.7224 GB, free: 20.98 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.0001397/0.5765, allocations: 119.2 kB / 0.7226 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.555e-05/0.5765, allocations: 1.672 kB / 0.7226 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.601e-05/0.5766, allocations: 13.12 kB / 0.7226 GB, free: 20.85 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.5766, allocations: 0 / 0.7226 GB, free: 20.85 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.5766, allocations: 1.547 kB / 0.7226 GB, free: 20.85 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.5766, allocations: 0 / 0.7226 GB, free: 20.85 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.708e-05/0.5767, allocations: 116.3 kB / 0.7227 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.5767, allocations: 0.7969 kB / 0.7227 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.846e-05/0.5767, allocations: 14.14 kB / 0.7227 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.5767, allocations: 0 / 0.7227 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.5767, allocations: 1.125 kB / 0.7227 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.5767, allocations: 0.5625 kB / 0.7227 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.5767, allocations: 0.875 kB / 0.7227 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001826/0.5769, allocations: 170.5 kB / 0.7229 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.144e-05/0.5769, allocations: 5.875 kB / 0.7229 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.577, allocations: 6 kB / 0.7229 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.502e-05/0.577, allocations: 9.516 kB / 0.7229 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.459e-05/0.5771, allocations: 5.562 kB / 0.7229 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.5771, allocations: 1.25 kB / 0.7229 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.091e-05/0.5771, allocations: 88.98 kB / 0.723 GB, free: 20.47 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.5771, allocations: 0 / 0.723 GB, free: 20.47 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001546/0.5773, allocations: 9.5 kB / 0.723 GB, free: 20.47 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 0.0001337/0.5774, allocations: 95.02 kB / 0.7231 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001894/0.5776, allocations: 43.25 kB / 0.7231 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.5776, allocations: 4 kB / 0.7231 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.555e-05/0.5777, allocations: 22.69 kB / 0.7231 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002317/0.5779, allocations: 10.86 kB / 0.7232 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003636/0.5782, allocations: 120.5 kB / 0.7233 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.717e-05/0.5783, allocations: 64.98 kB / 0.7233 GB, free: 20.17 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.93e-05/0.5784, allocations: 8.078 kB / 0.7233 GB, free: 20.17 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.583e-05/0.5784, allocations: 11 kB / 0.7233 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of SimCode: time 4.61e-07/0.5784, allocations: 0 / 0.7233 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of Templates: time 0.00315/0.5815, allocations: 0.6622 MB / 0.724 GB, free: 20.07 MB / 0.6355 GB " [Timeout remaining time 659] 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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.388383571058512] Failed to read output from testmodel.py, exit status != 0: 0.5899131071055308 0.6029917770000001 0.026861799000000002 Calling exit ...