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.001996/0.001996, allocations: 93.47 kB / 19.44 MB, free: 336 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.002041/0.002041, allocations: 169.2 kB / 22.76 MB, free: 1.664 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 1.731/1.731, allocations: 177.1 MB / 203.1 MB, free: 5.262 MB / 186.7 MB " [Timeout remaining time 178] 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 1.303/1.303, allocations: 154.6 MB / 414.1 MB, free: 0.582 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 178] 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 2.995e-06/2.995e-06, allocations: 3.938 kB / 0.5196 GB, free: 2.539 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.016e-05/4.316e-05, allocations: 2.312 kB / 0.5196 GB, free: 2.535 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.005741/0.005784, allocations: 1.814 MB / 0.5214 GB, free: 0.7305 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003872/0.009656, allocations: 1.144 MB / 0.5225 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001589/0.009815, allocations: 4 kB / 0.5225 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001002/0.01082, allocations: 164.9 kB / 0.5227 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0008786/0.01169, allocations: 160.7 kB / 0.5228 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005469/0.01224, allocations: 136.7 kB / 0.523 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003526/0.01259, allocations: 182.2 kB / 0.5231 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001443/0.01274, allocations: 17.23 kB / 0.5232 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002369/0.01298, allocations: 99.72 kB / 0.5232 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000178/0.01315, allocations: 67.8 kB / 0.5233 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.647e-05/0.01319, allocations: 8 kB / 0.5233 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002375/0.01343, allocations: 63.94 kB / 0.5234 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001153/0.01354, allocations: 43.86 kB / 0.5234 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 9.693e-05/0.01364, allocations: 36.34 kB / 0.5235 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005521/0.01419, allocations: 215.8 kB / 0.5237 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.0142, allocations: 0 / 0.5237 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.467e-06/0.0142, allocations: 0.9688 kB / 0.5237 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.735e-06/0.01421, allocations: 0 / 0.5237 GB, free: 14.41 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.001219/0.01543, allocations: 0.5375 MB / 0.5242 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/0.01548, allocations: 8.031 kB / 0.5242 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001108/0.01559, allocations: 16.84 kB / 0.5242 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005167/0.01611, allocations: 196.2 kB / 0.5244 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.363e-05/0.01614, allocations: 5.312 kB / 0.5244 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.109e-05/0.01617, allocations: 4.359 kB / 0.5244 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002564/0.01642, allocations: 62.23 kB / 0.5245 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.01644, allocations: 5.344 kB / 0.5245 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.146e-05/0.01646, allocations: 4 kB / 0.5245 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.119e-05/0.01648, allocations: 4 kB / 0.5245 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001428/0.01662, allocations: 25.08 kB / 0.5245 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009273/0.01755, allocations: 367.7 kB / 0.5249 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003355/0.01789, allocations: 71.11 kB / 0.5249 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001389/0.01802, allocations: 36.3 kB / 0.525 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.01805, allocations: 1.281 kB / 0.525 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000267/0.01831, allocations: 85.03 kB / 0.525 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=10): time 2.084e-06/0.01832, allocations: 0 / 0.525 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10): time 0.0006001/0.01892, allocations: 128.7 kB / 0.5252 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.976e-05/0.019, allocations: 51.52 kB / 0.5252 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005303/0.01953, allocations: 332.2 kB / 0.5255 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.222e-05/0.01956, allocations: 25.7 kB / 0.5256 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001886/0.01975, allocations: 182.7 kB / 0.5257 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.925e-05/0.0198, allocations: 23.8 kB / 0.5258 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.0199, allocations: 39.36 kB / 0.5258 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003878/0.02029, allocations: 0.5118 MB / 0.5263 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.729e-05/0.02037, allocations: 22.77 kB / 0.5263 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001557/0.02052, allocations: 80.75 kB / 0.5264 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001724/0.02069, allocations: 67.22 kB / 0.5265 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.0207, allocations: 0 / 0.5265 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002935/0.02099, allocations: 105.9 kB / 0.5266 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.553e-05/0.02102, allocations: 4 kB / 0.5266 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.02103, allocations: 1.312 kB / 0.5266 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.02105, allocations: 0 / 0.5266 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.02115, allocations: 15.98 kB / 0.5266 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.371e-06/0.02116, allocations: 3.938 kB / 0.5266 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.809e-05/0.02125, allocations: 8.453 kB / 0.5266 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.462e-05/0.02126, allocations: 6 kB / 0.5266 GB, free: 11.2 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.0002041/0.02146, allocations: 176.5 kB / 0.5268 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.302e-05/0.02152, allocations: 19.89 kB / 0.5268 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004051/0.02192, allocations: 115.2 kB / 0.5269 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.876e-05/0.02194, allocations: 2.438 kB / 0.5269 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.02195, allocations: 0 / 0.5269 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/0.02196, allocations: 3.984 kB / 0.5269 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004186/0.02237, allocations: 204.5 kB / 0.5271 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.02238, allocations: 0 / 0.5271 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.949e-05/0.02244, allocations: 11.92 kB / 0.5271 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.02244, allocations: 0 / 0.5271 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.836e-05/0.02246, allocations: 6.25 kB / 0.5271 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.083e-06/0.02247, allocations: 4 kB / 0.5271 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.02247, allocations: 80 / 0.5271 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004502/0.02292, allocations: 148.2 kB / 0.5273 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.381e-05/0.02298, allocations: 19.91 kB / 0.5273 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.503e-05/0.02303, allocations: 4 kB / 0.5273 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.754e-05/0.02311, allocations: 9.016 kB / 0.5273 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.032e-05/0.02317, allocations: 3.984 kB / 0.5273 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.938e-05/0.02319, allocations: 4.938 kB / 0.5273 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003793/0.02357, allocations: 219.5 kB / 0.5275 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.31e-07/0.02357, allocations: 3.938 kB / 0.5275 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000441/0.02401, allocations: 36.5 kB / 0.5275 GB, free: 10.16 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.004352/0.02837, allocations: 446 kB / 0.528 GB, free: 9.941 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003529/0.02872, allocations: 71.55 kB / 0.528 GB, free: 9.871 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.02872, allocations: 0.5938 kB / 0.528 GB, free: 9.871 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001563/0.02888, allocations: 43.61 kB / 0.5281 GB, free: 9.824 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005072/0.02939, allocations: 48.39 kB / 0.5281 GB, free: 9.781 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009568/0.03034, allocations: 282.7 kB / 0.5284 GB, free: 9.477 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002222/0.03056, allocations: 112.6 kB / 0.5285 GB, free: 9.348 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001093/0.03067, allocations: 27.31 kB / 0.5285 GB, free: 9.316 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.882e-05/0.03076, allocations: 24.48 kB / 0.5285 GB, free: 9.293 MB / 0.4948 GB Notification: Performance of SimCode: time 6.01e-07/0.03076, allocations: 5.594 kB / 0.5286 GB, free: 9.289 MB / 0.4948 GB Notification: Performance of Templates: time 0.01105/0.04181, allocations: 2.414 MB / 0.5309 GB, free: 7.027 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: 6.223368688020855]