Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.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.00127/0.00127, allocations: 73.88 kB / 20.66 MB, free: 3.84 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.001474/0.001474, allocations: 169 kB / 24.05 MB, free: 456 kB / 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 1.01/1.01, allocations: 177.1 MB / 204.5 MB, free: 5.504 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-545:108: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-545:116: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.7667/0.7667, allocations: 154.6 MB / 415.6 MB, free: 0.5 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.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator") translateModel(IDEAS.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 0.5215 GB, free: 1.879 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.771e-05/1.912e-05, allocations: 3.688 kB / 0.5215 GB, free: 1.875 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.002358/0.002377, allocations: 1.825 MB / 0.5233 GB, free: 60 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001341/0.003718, allocations: 1.139 MB / 0.5244 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.071e-05/0.003809, allocations: 3.938 kB / 0.5244 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005166/0.004325, allocations: 173 kB / 0.5246 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002902/0.004616, allocations: 156.6 kB / 0.5247 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004156/0.005031, allocations: 144.9 kB / 0.5249 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002025/0.005234, allocations: 175.5 kB / 0.5251 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.799e-05/0.005322, allocations: 13.3 kB / 0.5251 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000108/0.00543, allocations: 101.5 kB / 0.5252 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.908e-05/0.005519, allocations: 67.86 kB / 0.5252 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.005535, allocations: 8 kB / 0.5252 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001171/0.005653, allocations: 71.75 kB / 0.5253 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.68e-05/0.005709, allocations: 43.84 kB / 0.5253 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.95e-05/0.005749, allocations: 33.02 kB / 0.5254 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001873/0.005936, allocations: 159.4 kB / 0.5255 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.005938, allocations: 3.938 kB / 0.5255 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.21e-07/0.005939, allocations: 0.75 kB / 0.5255 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.467e-06/0.005942, allocations: 0 / 0.5255 GB, free: 13.79 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004642/0.006407, allocations: 0.5179 MB / 0.526 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.006438, allocations: 12.03 kB / 0.5261 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.258e-05/0.006481, allocations: 18.28 kB / 0.5261 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/0.006663, allocations: 204.5 kB / 0.5263 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.006678, allocations: 384 / 0.5263 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.126e-05/0.006689, allocations: 12.31 kB / 0.5263 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.229e-05/0.006781, allocations: 54.95 kB / 0.5263 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.006788, allocations: 3.938 kB / 0.5263 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.006797, allocations: 4.844 kB / 0.5263 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.71e-05/0.006814, allocations: 0 / 0.5263 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.093e-05/0.006845, allocations: 22.73 kB / 0.5264 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000302/0.007147, allocations: 316.1 kB / 0.5267 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.362e-05/0.007231, allocations: 51.16 kB / 0.5267 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.336e-05/0.007254, allocations: 23.62 kB / 0.5267 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.277e-06/0.007263, allocations: 0 / 0.5267 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.899e-05/0.007352, allocations: 77.47 kB / 0.5268 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=10): time 1.523e-06/0.007354, allocations: 0 / 0.5268 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10): time 0.0001666/0.00752, allocations: 108.2 kB / 0.5269 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.433e-05/0.007545, allocations: 51.41 kB / 0.527 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.007693, allocations: 272.2 kB / 0.5272 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.007708, allocations: 29.7 kB / 0.5272 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.902e-05/0.007777, allocations: 170.8 kB / 0.5274 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.353e-05/0.007801, allocations: 23.78 kB / 0.5274 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.799e-05/0.007839, allocations: 35.34 kB / 0.5275 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.007955, allocations: 0.5105 MB / 0.528 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.591e-05/0.007971, allocations: 8 kB / 0.528 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.089e-05/0.008011, allocations: 67.14 kB / 0.528 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.6e-05/0.008057, allocations: 43.31 kB / 0.5281 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.008059, allocations: 0 / 0.5281 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.917e-05/0.008158, allocations: 98.73 kB / 0.5282 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.008169, allocations: 9.5 kB / 0.5282 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.008174, allocations: 4 kB / 0.5282 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.815e-06/0.008182, allocations: 0.5 kB / 0.5282 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.747e-05/0.008229, allocations: 9.031 kB / 0.5282 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.186e-06/0.008233, allocations: 0 / 0.5282 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.22e-05/0.008265, allocations: 7.984 kB / 0.5282 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.008271, allocations: 5.125 kB / 0.5282 GB, free: 10.84 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.booTab.combiTimeTable.nextTimeEvent,$whenCondition1,booRep.y[4],booRep.y[3],booRep.y[2],booRep.y[1],booTab.combiTimeTable.nextTimeEventScaled,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent,booTab.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 0.0003405/0.008612, allocations: 168.5 kB / 0.5284 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.077e-05/0.008633, allocations: 24.47 kB / 0.5284 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001112/0.008744, allocations: 91.78 kB / 0.5285 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-06/0.008752, allocations: 4 kB / 0.5285 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.008753, allocations: 3.438 kB / 0.5285 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.008757, allocations: 0 / 0.5285 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001113/0.008868, allocations: 145.1 kB / 0.5286 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.00887, allocations: 0 / 0.5286 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.497e-05/0.008885, allocations: 8 kB / 0.5286 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.008889, allocations: 7.922 kB / 0.5286 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.569e-06/0.008894, allocations: 0 / 0.5286 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.008895, allocations: 240 / 0.5286 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.008896, allocations: 0 / 0.5286 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001016/0.008997, allocations: 146.8 kB / 0.5288 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.536e-05/0.009023, allocations: 19.8 kB / 0.5288 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.836e-05/0.009041, allocations: 7.922 kB / 0.5288 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.576e-05/0.009067, allocations: 8 kB / 0.5288 GB, free: 10.17 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.568e-05/0.009093, allocations: 7.984 kB / 0.5288 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-06/0.009098, allocations: 0 / 0.5288 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.117e-05/0.009179, allocations: 187.4 kB / 0.529 GB, free: 9.977 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.009179, allocations: 0.75 kB / 0.529 GB, free: 9.977 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001686/0.009347, allocations: 35.92 kB / 0.529 GB, free: 9.941 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,booTab.y,booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEvent,booTab.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.0008532/0.0102, allocations: 404.5 kB / 0.5294 GB, free: 9.727 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001057/0.01031, allocations: 49.12 kB / 0.5295 GB, free: 9.676 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.01031, allocations: 3.938 kB / 0.5295 GB, free: 9.672 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.533e-05/0.01034, allocations: 35.61 kB / 0.5295 GB, free: 9.633 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001819/0.01052, allocations: 48.03 kB / 0.5295 GB, free: 9.598 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003531/0.01088, allocations: 274.6 kB / 0.5298 GB, free: 9.301 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.514e-05/0.01092, allocations: 71.83 kB / 0.5299 GB, free: 9.211 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.445e-05/0.01098, allocations: 24.22 kB / 0.5299 GB, free: 9.188 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.392e-05/0.01106, allocations: 98.17 kB / 0.53 GB, free: 9.09 MB / 0.4948 GB Notification: Performance of SimCode: time 6.21e-07/0.01106, allocations: 0 / 0.53 GB, free: 9.09 MB / 0.4948 GB Notification: Performance of Templates: time 0.004553/0.01561, allocations: 2.683 MB / 0.5326 GB, free: 6.574 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9203574960120022]