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.001121/0.001121, allocations: 92.22 kB / 19.65 MB, free: 276 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.001239/0.001239, allocations: 173 kB / 23.02 MB, free: 1.547 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.019/1.019, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.8417/0.8417, allocations: 154.6 MB / 414.5 MB, free: 0.6523 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.994e-06/1.994e-06, allocations: 0 / 0.5203 GB, free: 2.168 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.978e-05/2.177e-05, allocations: 4.141 kB / 0.5203 GB, free: 2.164 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.003468/0.00349, allocations: 1.829 MB / 0.5221 GB, free: 352 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002051/0.005541, allocations: 1.162 MB / 0.5233 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001071/0.005648, allocations: 0 / 0.5233 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007195/0.006368, allocations: 177.3 kB / 0.5234 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0004294/0.006797, allocations: 156.9 kB / 0.5236 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003978/0.007195, allocations: 140 kB / 0.5237 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002652/0.00746, allocations: 173.5 kB / 0.5239 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.007572, allocations: 21.28 kB / 0.5239 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001571/0.007729, allocations: 95.72 kB / 0.524 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.007856, allocations: 67.8 kB / 0.524 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.579e-05/0.007882, allocations: 8 kB / 0.5241 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001639/0.008046, allocations: 73.25 kB / 0.5241 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 8.012e-05/0.008126, allocations: 39.86 kB / 0.5242 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 6.33e-05/0.008189, allocations: 35.86 kB / 0.5242 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000315/0.008504, allocations: 159.4 kB / 0.5243 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.544e-06/0.008506, allocations: 1.469 kB / 0.5243 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.81e-07/0.008507, allocations: 0 / 0.5243 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.008513, allocations: 0 / 0.5243 GB, free: 14.06 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.0007049/0.009218, allocations: 0.5216 MB / 0.5249 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.009263, allocations: 12.03 kB / 0.5249 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.723e-05/0.00934, allocations: 24.83 kB / 0.5249 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002915/0.009631, allocations: 205.5 kB / 0.5251 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.575e-05/0.009657, allocations: 12.36 kB / 0.5251 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.009674, allocations: 5.875 kB / 0.5251 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.009845, allocations: 52.53 kB / 0.5252 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.009856, allocations: 3.938 kB / 0.5252 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.009867, allocations: 4 kB / 0.5252 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.749e-05/0.009895, allocations: 4.484 kB / 0.5252 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.545e-05/0.00996, allocations: 20.97 kB / 0.5252 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005354/0.0105, allocations: 339.6 kB / 0.5255 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001549/0.01065, allocations: 64.17 kB / 0.5256 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.806e-05/0.0107, allocations: 19.67 kB / 0.5256 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.407e-05/0.01071, allocations: 4.625 kB / 0.5256 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001353/0.01085, allocations: 70.58 kB / 0.5257 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=10): time 3.597e-06/0.01085, allocations: 7.984 kB / 0.5257 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10): time 0.0002945/0.01115, allocations: 117.4 kB / 0.5258 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.009e-05/0.01119, allocations: 51.41 kB / 0.5258 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002636/0.01145, allocations: 278.1 kB / 0.5261 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.01147, allocations: 33.7 kB / 0.5261 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.806e-05/0.01157, allocations: 166.9 kB / 0.5263 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.538e-05/0.0116, allocations: 27.78 kB / 0.5263 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.258e-05/0.01165, allocations: 31.36 kB / 0.5263 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.01182, allocations: 0.505 MB / 0.5268 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.984e-05/0.01186, allocations: 12.09 kB / 0.5269 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.498e-05/0.01193, allocations: 73.58 kB / 0.5269 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.383e-05/0.01202, allocations: 51.3 kB / 0.527 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.01202, allocations: 3.25 kB / 0.527 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001603/0.01218, allocations: 93.48 kB / 0.5271 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.0122, allocations: 10.03 kB / 0.5271 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.01221, allocations: 0 / 0.5271 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.01222, allocations: 0 / 0.5271 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.09e-05/0.0123, allocations: 15.92 kB / 0.5271 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.01231, allocations: 4 kB / 0.5271 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.339e-05/0.01236, allocations: 4 kB / 0.5271 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.817e-06/0.01237, allocations: 3.031 kB / 0.5271 GB, free: 11.03 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.0001124/0.01248, allocations: 172.5 kB / 0.5273 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.439e-05/0.01251, allocations: 19.89 kB / 0.5273 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002024/0.01272, allocations: 99.28 kB / 0.5274 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-05/0.01273, allocations: 4 kB / 0.5274 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.01273, allocations: 3.938 kB / 0.5274 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.01274, allocations: 5.547 kB / 0.5274 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001824/0.01292, allocations: 180.4 kB / 0.5276 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.01292, allocations: 0 / 0.5276 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.847e-05/0.01296, allocations: 8 kB / 0.5276 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.91e-06/0.01297, allocations: 5.266 kB / 0.5276 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.01298, allocations: 4 kB / 0.5276 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.01298, allocations: 0 / 0.5276 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.01298, allocations: 0 / 0.5276 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002/0.01318, allocations: 140.8 kB / 0.5277 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.058e-05/0.01321, allocations: 20.52 kB / 0.5277 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.945e-05/0.01324, allocations: 8 kB / 0.5277 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.143e-05/0.01329, allocations: 4.484 kB / 0.5277 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.206e-05/0.01334, allocations: 6.375 kB / 0.5277 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.01335, allocations: 11.92 kB / 0.5278 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001677/0.01352, allocations: 195.5 kB / 0.5279 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.11e-07/0.01352, allocations: 0 / 0.5279 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002836/0.0138, allocations: 35.92 kB / 0.528 GB, free: 10.06 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.001293/0.01509, allocations: 403.1 kB / 0.5284 GB, free: 9.852 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001826/0.01528, allocations: 52.66 kB / 0.5284 GB, free: 9.797 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.01528, allocations: 3.938 kB / 0.5284 GB, free: 9.793 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.505e-05/0.01534, allocations: 34.11 kB / 0.5285 GB, free: 9.758 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003025/0.01565, allocations: 45.23 kB / 0.5285 GB, free: 9.719 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005191/0.01616, allocations: 270.6 kB / 0.5288 GB, free: 9.426 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.337e-05/0.01623, allocations: 79.83 kB / 0.5288 GB, free: 9.328 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.053e-05/0.0163, allocations: 20.38 kB / 0.5288 GB, free: 9.309 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.719e-05/0.01635, allocations: 20.5 kB / 0.5289 GB, free: 9.289 MB / 0.4948 GB Notification: Performance of SimCode: time 8.92e-07/0.01635, allocations: 0 / 0.5289 GB, free: 9.289 MB / 0.4948 GB Notification: Performance of Templates: time 0.006419/0.02277, allocations: 2.607 MB / 0.5314 GB, free: 6.848 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.9270709748379886]