Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.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.000717/0.000717, allocations: 80.48 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0007561/0.0007561, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.885/0.885, allocations: 177.1 MB / 203.5 MB, free: 5.676 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.7115/0.7115, allocations: 154.6 MB / 414.5 MB, free: 0.7969 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.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator") translateModel(IDEAS.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 0.6193 GB, free: 13.17 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.301e-05/2.431e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.17 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.002086/0.00211, allocations: 1.787 MB / 0.6211 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001235/0.003345, allocations: 1.192 MB / 0.6222 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.132e-05/0.003417, allocations: 0 / 0.6222 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0002522/0.003669, allocations: 63.61 kB / 0.6223 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002432/0.003912, allocations: 123.4 kB / 0.6224 GB, free: 9.984 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003403/0.004252, allocations: 205.9 kB / 0.6226 GB, free: 9.789 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001607/0.004413, allocations: 155.5 kB / 0.6228 GB, free: 9.637 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.199e-05/0.004505, allocations: 21.61 kB / 0.6228 GB, free: 9.609 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 9.297e-05/0.004598, allocations: 87.73 kB / 0.6229 GB, free: 9.523 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.521e-05/0.004683, allocations: 63.8 kB / 0.6229 GB, free: 9.461 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.004699, allocations: 12 kB / 0.6229 GB, free: 9.449 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.004818, allocations: 75.88 kB / 0.623 GB, free: 9.375 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 5.962e-05/0.004878, allocations: 43.78 kB / 0.623 GB, free: 9.332 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.594e-05/0.004923, allocations: 43.84 kB / 0.6231 GB, free: 9.289 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002304/0.005154, allocations: 207.4 kB / 0.6233 GB, free: 9.086 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.005157, allocations: 3.938 kB / 0.6233 GB, free: 9.082 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.413e-06/0.005158, allocations: 0 / 0.6233 GB, free: 9.082 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.005162, allocations: 4 kB / 0.6233 GB, free: 9.078 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004644/0.005626, allocations: 418.9 kB / 0.6237 GB, free: 8.633 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.005658, allocations: 12.03 kB / 0.6237 GB, free: 8.621 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.967e-05/0.005698, allocations: 16.84 kB / 0.6237 GB, free: 8.605 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002363/0.005934, allocations: 201.4 kB / 0.6239 GB, free: 8.383 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.005947, allocations: 4.375 kB / 0.6239 GB, free: 8.379 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.09e-05/0.005957, allocations: 8.312 kB / 0.6239 GB, free: 8.371 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.006115, allocations: 117.6 kB / 0.624 GB, free: 8.238 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.006123, allocations: 3.938 kB / 0.624 GB, free: 8.234 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.006132, allocations: 0 / 0.624 GB, free: 8.234 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.006142, allocations: 7.984 kB / 0.6241 GB, free: 8.227 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.895e-05/0.006211, allocations: 35.97 kB / 0.6241 GB, free: 8.191 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000354/0.006565, allocations: 288.4 kB / 0.6244 GB, free: 7.879 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000422/0.006987, allocations: 90.59 kB / 0.6244 GB, free: 7.781 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.249e-05/0.007029, allocations: 32.84 kB / 0.6245 GB, free: 7.746 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.16e-05/0.007041, allocations: 0 / 0.6245 GB, free: 7.746 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001253/0.007166, allocations: 87.36 kB / 0.6246 GB, free: 7.648 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/0.007167, allocations: 4 kB / 0.6246 GB, free: 7.645 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.0002285/0.007396, allocations: 145.5 kB / 0.6247 GB, free: 7.496 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.007435, allocations: 77.11 kB / 0.6248 GB, free: 7.402 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000181/0.007616, allocations: 273.8 kB / 0.625 GB, free: 7.129 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.007628, allocations: 29.7 kB / 0.6251 GB, free: 7.094 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.874e-05/0.007687, allocations: 120.1 kB / 0.6252 GB, free: 6.973 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.228e-05/0.007709, allocations: 23.83 kB / 0.6252 GB, free: 6.949 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-05/0.007743, allocations: 25.72 kB / 0.6252 GB, free: 6.918 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.476e-05/0.007828, allocations: 334.8 kB / 0.6255 GB, free: 6.582 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.656e-05/0.007874, allocations: 27.98 kB / 0.6256 GB, free: 6.555 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.991e-05/0.007944, allocations: 114.8 kB / 0.6257 GB, free: 6.418 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.115e-05/0.008035, allocations: 77.62 kB / 0.6258 GB, free: 6.336 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.008037, allocations: 0 / 0.6258 GB, free: 6.336 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00013/0.008167, allocations: 121.5 kB / 0.6259 GB, free: 6.211 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.008182, allocations: 11.98 kB / 0.6259 GB, free: 6.199 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.008187, allocations: 0 / 0.6259 GB, free: 6.199 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.008198, allocations: 0 / 0.6259 GB, free: 6.199 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.721e-05/0.008265, allocations: 12 kB / 0.6259 GB, free: 6.188 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.008269, allocations: 0 / 0.6259 GB, free: 6.188 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.959e-05/0.008309, allocations: 15.88 kB / 0.6259 GB, free: 6.172 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/0.008315, allocations: 4 kB / 0.6259 GB, free: 6.168 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.intTab.combiTimeTable.nextTimeEvent,$whenCondition1,intRep.y[2],intRep.y[1],intTab.combiTimeTable.nextTimeEventScaled,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEvent,intTab.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 1 * 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.648e-05/0.008412, allocations: 151.6 kB / 0.6261 GB, free: 6.012 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.491e-05/0.008427, allocations: 19.94 kB / 0.6261 GB, free: 5.992 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001723/0.008599, allocations: 131.4 kB / 0.6262 GB, free: 5.859 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.008606, allocations: 4 kB / 0.6262 GB, free: 5.855 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/0.008609, allocations: 0 / 0.6262 GB, free: 5.855 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.008612, allocations: 0 / 0.6262 GB, free: 5.855 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001157/0.008728, allocations: 177.1 kB / 0.6264 GB, free: 5.652 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.008729, allocations: 0 / 0.6264 GB, free: 5.652 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.515e-05/0.008755, allocations: 4 kB / 0.6264 GB, free: 5.648 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.008756, allocations: 0 / 0.6264 GB, free: 5.648 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.856e-06/0.008765, allocations: 7.984 kB / 0.6264 GB, free: 5.641 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.008766, allocations: 4 kB / 0.6264 GB, free: 5.637 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.008767, allocations: 0 / 0.6264 GB, free: 5.637 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000136/0.008903, allocations: 152.9 kB / 0.6265 GB, free: 5.469 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.845e-05/0.008921, allocations: 15.91 kB / 0.6266 GB, free: 5.453 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.008938, allocations: 0 / 0.6266 GB, free: 5.453 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.501e-05/0.008963, allocations: 8.172 kB / 0.6266 GB, free: 5.445 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.735e-05/0.009, allocations: 7.984 kB / 0.6266 GB, free: 5.438 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/0.00901, allocations: 7.938 kB / 0.6266 GB, free: 5.43 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001198/0.00913, allocations: 207.5 kB / 0.6268 GB, free: 5.227 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.00913, allocations: 0 / 0.6268 GB, free: 5.227 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001641/0.009294, allocations: 35.94 kB / 0.6268 GB, free: 5.191 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,intTab.y,intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006989/0.009993, allocations: 454.8 kB / 0.6272 GB, free: 4.949 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000149/0.01014, allocations: 71.89 kB / 0.6273 GB, free: 4.879 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.173e-06/0.01014, allocations: 0 / 0.6273 GB, free: 4.879 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.168e-05/0.01019, allocations: 43.89 kB / 0.6274 GB, free: 4.836 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001974/0.01039, allocations: 47.81 kB / 0.6274 GB, free: 4.793 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00043/0.01082, allocations: 335.2 kB / 0.6277 GB, free: 4.43 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.637e-05/0.0109, allocations: 118.8 kB / 0.6278 GB, free: 4.297 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.821e-05/0.01094, allocations: 20.48 kB / 0.6279 GB, free: 4.277 MB / 0.5886 GB Notification: Performance of SimCode: time 3.51e-07/0.01094, allocations: 0 / 0.6279 GB, free: 4.277 MB / 0.5886 GB Notification: Performance of Templates: time 0.003126/0.01406, allocations: 2.742 MB / 0.6305 GB, free: 1.547 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.458864121697843] Failed to read output from testmodel.py, exit status != 0: 0.01972308475524187 0.027118162 0.020423315 Calling exit ...