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.0009683/0.0009683, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001679/0.001679, allocations: 169 kB / 23.27 MB, free: 1.223 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.038/1.038, allocations: 177.2 MB / 203.7 MB, free: 5.523 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.7662/0.7662, allocations: 154.6 MB / 414.8 MB, free: 0.5195 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.863e-06/1.863e-06, allocations: 0.7656 kB / 0.5208 GB, free: 1.855 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.355e-05/1.541e-05, allocations: 2.312 kB / 0.5208 GB, free: 1.852 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.002306/0.002321, allocations: 1.826 MB / 0.5226 GB, free: 36 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001294/0.003615, allocations: 1.144 MB / 0.5237 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.362e-05/0.003689, allocations: 0 / 0.5237 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004827/0.004171, allocations: 172.8 kB / 0.5238 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002413/0.004413, allocations: 161 kB / 0.524 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002601/0.004673, allocations: 138.3 kB / 0.5241 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002159/0.004889, allocations: 187.4 kB / 0.5243 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.332e-05/0.004972, allocations: 9.312 kB / 0.5243 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.005082, allocations: 103.7 kB / 0.5244 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.391e-05/0.005166, allocations: 63.86 kB / 0.5245 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.005182, allocations: 8 kB / 0.5245 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001048/0.005287, allocations: 64.38 kB / 0.5245 GB, free: 14 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.877e-05/0.005346, allocations: 48.5 kB / 0.5246 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.702e-05/0.005383, allocations: 35.84 kB / 0.5246 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.00018/0.005563, allocations: 160.4 kB / 0.5248 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.704e-06/0.005564, allocations: 0 / 0.5248 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.21e-07/0.005565, allocations: 4.906 kB / 0.5248 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.965e-06/0.005568, allocations: 0 / 0.5248 GB, free: 13.76 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.0004347/0.006002, allocations: 0.5137 MB / 0.5253 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.006038, allocations: 16.02 kB / 0.5253 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.986e-05/0.006078, allocations: 20.84 kB / 0.5253 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001685/0.006247, allocations: 201.7 kB / 0.5255 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.00626, allocations: 4.375 kB / 0.5255 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.885e-06/0.006267, allocations: 4.375 kB / 0.5255 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.238e-05/0.00636, allocations: 54.73 kB / 0.5256 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.072e-06/0.006366, allocations: 8.906 kB / 0.5256 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.006373, allocations: 3.984 kB / 0.5256 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.634e-05/0.00639, allocations: 4 kB / 0.5256 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.772e-05/0.006417, allocations: 17.05 kB / 0.5256 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002765/0.006694, allocations: 304.2 kB / 0.5259 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.335e-05/0.006777, allocations: 59.78 kB / 0.526 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.324e-05/0.006801, allocations: 28.92 kB / 0.526 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.155e-05/0.006812, allocations: 0 / 0.526 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001544/0.006967, allocations: 65.05 kB / 0.526 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=10): time 9.52e-07/0.006967, allocations: 0.5625 kB / 0.526 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10): time 0.0001495/0.007117, allocations: 106.2 kB / 0.5261 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.243e-05/0.007139, allocations: 56.66 kB / 0.5262 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.007276, allocations: 268.2 kB / 0.5265 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.007288, allocations: 33.7 kB / 0.5265 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.758e-05/0.007356, allocations: 166.8 kB / 0.5266 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.516e-05/0.007381, allocations: 28.64 kB / 0.5267 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.513e-05/0.007416, allocations: 35.34 kB / 0.5267 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.00753, allocations: 0.5051 MB / 0.5272 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.518e-05/0.007545, allocations: 8 kB / 0.5272 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.609e-05/0.007592, allocations: 68.67 kB / 0.5273 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.288e-05/0.007634, allocations: 44.64 kB / 0.5273 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.007636, allocations: 0 / 0.5273 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.07e-05/0.007726, allocations: 94.17 kB / 0.5274 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.007737, allocations: 8 kB / 0.5274 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.007742, allocations: 1 kB / 0.5274 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.825e-06/0.007749, allocations: 0 / 0.5274 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.798e-05/0.007797, allocations: 18.78 kB / 0.5274 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.007803, allocations: 11.94 kB / 0.5274 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.775e-05/0.00783, allocations: 0 / 0.5274 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.007835, allocations: 4 kB / 0.5274 GB, free: 10.82 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 7.513e-05/0.00791, allocations: 168.5 kB / 0.5276 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.808e-05/0.007928, allocations: 23.84 kB / 0.5276 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001074/0.008036, allocations: 93.78 kB / 0.5277 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.836e-06/0.008045, allocations: 4 kB / 0.5277 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.008046, allocations: 0 / 0.5277 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.008048, allocations: 0 / 0.5277 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001054/0.008154, allocations: 145.1 kB / 0.5279 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.008156, allocations: 4 kB / 0.5279 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.491e-05/0.008171, allocations: 7.938 kB / 0.5279 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.008173, allocations: 5.781 kB / 0.5279 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.729e-06/0.008178, allocations: 0 / 0.5279 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.008179, allocations: 240 / 0.5279 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.008182, allocations: 7.984 kB / 0.5279 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.299e-05/0.008275, allocations: 128.3 kB / 0.528 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.927e-05/0.008294, allocations: 24.62 kB / 0.528 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.008312, allocations: 7.938 kB / 0.528 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.255e-05/0.008334, allocations: 4.656 kB / 0.528 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.456e-05/0.008359, allocations: 7.984 kB / 0.528 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-06/0.008364, allocations: 0.6562 kB / 0.5281 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.988e-05/0.008444, allocations: 191.4 kB / 0.5282 GB, free: 9.957 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.2e-07/0.008444, allocations: 0.6562 kB / 0.5282 GB, free: 9.957 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001452/0.008589, allocations: 39.31 kB / 0.5283 GB, free: 9.922 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.0008476/0.009437, allocations: 402.1 kB / 0.5287 GB, free: 9.707 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.552e-05/0.009523, allocations: 47.66 kB / 0.5287 GB, free: 9.656 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.01e-07/0.009523, allocations: 0 / 0.5287 GB, free: 9.656 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.124e-05/0.009555, allocations: 31.61 kB / 0.5287 GB, free: 9.621 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001731/0.009728, allocations: 57.31 kB / 0.5288 GB, free: 9.578 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002971/0.01002, allocations: 281 kB / 0.5291 GB, free: 9.277 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.755e-05/0.01006, allocations: 75.81 kB / 0.5291 GB, free: 9.184 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.977e-05/0.0101, allocations: 21.78 kB / 0.5291 GB, free: 9.16 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.976e-05/0.01017, allocations: 99.66 kB / 0.5292 GB, free: 9.062 MB / 0.4948 GB Notification: Performance of SimCode: time 5.21e-07/0.01017, allocations: 0 / 0.5292 GB, free: 9.062 MB / 0.4948 GB Notification: Performance of Templates: time 0.004069/0.01424, allocations: 2.64 MB / 0.5318 GB, free: 6.582 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.6963998153805733]