Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001116/0.001116, 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.001077/0.001077, allocations: 169 kB / 23.02 MB, free: 1.551 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.9973/0.9973, allocations: 177.1 MB / 203.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8109/0.8109, allocations: 154.8 MB / 414.7 MB, free: 0.4922 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator") translateModel(IDEAS.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 0.5206 GB, free: 0.8867 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.546e-05/2.734e-05, allocations: 2.312 kB / 0.5206 GB, free: 0.8828 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.002482/0.00251, allocations: 1.849 MB / 0.5224 GB, free: 15.05 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001326/0.003835, allocations: 1.155 MB / 0.5235 GB, free: 13.89 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.258e-05/0.003918, allocations: 3.938 kB / 0.5235 GB, free: 13.89 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005183/0.004436, allocations: 161.2 kB / 0.5236 GB, free: 13.73 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002644/0.004701, allocations: 165.5 kB / 0.5238 GB, free: 13.57 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002451/0.004946, allocations: 139.5 kB / 0.5239 GB, free: 13.43 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001754/0.005121, allocations: 176 kB / 0.5241 GB, free: 13.26 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.894e-05/0.00521, allocations: 22.75 kB / 0.5241 GB, free: 13.24 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.005315, allocations: 91.73 kB / 0.5242 GB, free: 13.15 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.409e-05/0.005409, allocations: 67.84 kB / 0.5243 GB, free: 13.09 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.839e-05/0.005427, allocations: 8 kB / 0.5243 GB, free: 13.08 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001138/0.005541, allocations: 76.78 kB / 0.5244 GB, free: 13 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 6.063e-05/0.005602, allocations: 39.86 kB / 0.5244 GB, free: 12.96 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 5.042e-05/0.005652, allocations: 36.83 kB / 0.5244 GB, free: 12.93 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002091/0.005861, allocations: 159.4 kB / 0.5246 GB, free: 12.77 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.175e-06/0.005863, allocations: 0 / 0.5246 GB, free: 12.77 MB / 458.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.005864, allocations: 1 kB / 0.5246 GB, free: 12.77 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.037e-06/0.005868, allocations: 0 / 0.5246 GB, free: 12.77 MB / 458.7 MB 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.0004999/0.006368, allocations: 0.5255 MB / 0.5251 GB, free: 12.21 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.006403, allocations: 12.03 kB / 0.5251 GB, free: 12.2 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.287e-05/0.006456, allocations: 20.83 kB / 0.5251 GB, free: 12.18 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002128/0.006669, allocations: 201.5 kB / 0.5253 GB, free: 11.95 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.006688, allocations: 9 kB / 0.5253 GB, free: 11.94 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.455e-05/0.006702, allocations: 8.359 kB / 0.5253 GB, free: 11.93 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001061/0.006808, allocations: 51.45 kB / 0.5254 GB, free: 11.88 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.006816, allocations: 3.938 kB / 0.5254 GB, free: 11.88 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.006826, allocations: 4 kB / 0.5254 GB, free: 11.87 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/0.006839, allocations: 4.609 kB / 0.5254 GB, free: 11.87 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.859e-05/0.006877, allocations: 17.78 kB / 0.5254 GB, free: 11.85 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003539/0.007231, allocations: 343.6 kB / 0.5257 GB, free: 11.48 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.912e-05/0.00733, allocations: 59.09 kB / 0.5258 GB, free: 11.41 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.258e-05/0.007363, allocations: 21.5 kB / 0.5258 GB, free: 11.39 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.007383, allocations: 11.94 kB / 0.5258 GB, free: 11.38 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.489e-05/0.007478, allocations: 72.98 kB / 0.5259 GB, free: 11.29 MB / 458.7 MB Notification: Performance of pre-optimization done (n=10): time 1.012e-06/0.007479, allocations: 4 kB / 0.5259 GB, free: 11.29 MB / 458.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001859/0.007664, allocations: 111 kB / 0.526 GB, free: 11.17 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.632e-05/0.007691, allocations: 51.41 kB / 0.5261 GB, free: 11.11 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001749/0.007866, allocations: 278.9 kB / 0.5263 GB, free: 10.82 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.00788, allocations: 29.7 kB / 0.5264 GB, free: 10.79 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.526e-05/0.007955, allocations: 175.5 kB / 0.5265 GB, free: 10.61 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.325e-05/0.007978, allocations: 23.84 kB / 0.5265 GB, free: 10.59 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.44e-05/0.008013, allocations: 32.83 kB / 0.5266 GB, free: 10.55 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.008135, allocations: 0.504 MB / 0.5271 GB, free: 10.03 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.315e-05/0.008158, allocations: 11.98 kB / 0.5271 GB, free: 10.02 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.759e-05/0.008205, allocations: 66.11 kB / 0.5271 GB, free: 9.938 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.785e-05/0.008263, allocations: 59.23 kB / 0.5272 GB, free: 9.871 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.008265, allocations: 0 / 0.5272 GB, free: 9.871 MB / 458.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001025/0.008368, allocations: 90.19 kB / 0.5273 GB, free: 9.777 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.008378, allocations: 9.312 kB / 0.5273 GB, free: 9.77 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.008384, allocations: 0 / 0.5273 GB, free: 9.77 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.008398, allocations: 0 / 0.5273 GB, free: 9.77 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.722e-05/0.008455, allocations: 11.98 kB / 0.5273 GB, free: 9.758 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.008459, allocations: 6.656 kB / 0.5273 GB, free: 9.754 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.228e-05/0.008492, allocations: 11.89 kB / 0.5273 GB, free: 9.742 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.008498, allocations: 4 kB / 0.5273 GB, free: 9.738 MB / 458.7 MB 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.956e-05/0.008578, allocations: 176.4 kB / 0.5275 GB, free: 9.555 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.935e-05/0.008597, allocations: 19.91 kB / 0.5275 GB, free: 9.535 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001274/0.008724, allocations: 100.3 kB / 0.5276 GB, free: 9.434 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/0.008733, allocations: 4 kB / 0.5276 GB, free: 9.43 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.008736, allocations: 0 / 0.5276 GB, free: 9.43 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.008741, allocations: 3.984 kB / 0.5276 GB, free: 9.426 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001153/0.008856, allocations: 176.5 kB / 0.5278 GB, free: 9.219 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.008857, allocations: 0 / 0.5278 GB, free: 9.219 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.56e-05/0.008872, allocations: 7.984 kB / 0.5278 GB, free: 9.211 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.008874, allocations: 1 kB / 0.5278 GB, free: 9.211 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.008887, allocations: 8 kB / 0.5278 GB, free: 9.203 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.008888, allocations: 3.938 kB / 0.5278 GB, free: 9.199 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.008889, allocations: 0.9375 kB / 0.5278 GB, free: 9.199 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001198/0.009009, allocations: 136.2 kB / 0.5279 GB, free: 9.043 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.146e-05/0.009031, allocations: 20.78 kB / 0.528 GB, free: 9.023 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.009048, allocations: 7.938 kB / 0.528 GB, free: 9.016 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.348e-05/0.009072, allocations: 3.984 kB / 0.528 GB, free: 9.012 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.725e-05/0.009109, allocations: 9.625 kB / 0.528 GB, free: 9.004 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.009117, allocations: 7.984 kB / 0.528 GB, free: 8.996 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001005/0.009217, allocations: 187.1 kB / 0.5282 GB, free: 8.812 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.009217, allocations: 0 / 0.5282 GB, free: 8.812 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001651/0.009382, allocations: 36.59 kB / 0.5282 GB, free: 8.777 MB / 458.7 MB 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.0008644/0.01025, allocations: 416.2 kB / 0.5286 GB, free: 8.559 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001293/0.01038, allocations: 51.66 kB / 0.5286 GB, free: 8.504 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.01038, allocations: 0 / 0.5286 GB, free: 8.504 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.914e-05/0.01042, allocations: 35.61 kB / 0.5287 GB, free: 8.465 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001902/0.01061, allocations: 44.42 kB / 0.5287 GB, free: 8.426 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003562/0.01096, allocations: 270.8 kB / 0.529 GB, free: 8.129 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.903e-05/0.01101, allocations: 75.83 kB / 0.5291 GB, free: 8.035 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.729e-05/0.01105, allocations: 13.8 kB / 0.5291 GB, free: 8.023 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.293e-05/0.01108, allocations: 23.91 kB / 0.5291 GB, free: 8.004 MB / 458.7 MB Notification: Performance of SimCode: time 8.72e-07/0.01108, allocations: 0 / 0.5291 GB, free: 8.004 MB / 458.7 MB Notification: Performance of Templates: time 0.004222/0.0153, allocations: 2.444 MB / 0.5315 GB, free: 5.715 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.0351834069006145]