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.0009085/0.0009085, allocations: 76.17 kB / 9.906 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001135/0.002043, allocations: 439.8 kB / 10.34 MB, free: 360 kB / 10.45 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.0008807/0.0008807, allocations: 157.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001143/0.002024, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.933/0.933, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.101/1.034, allocations: 53.66 MB / 243.2 MB, free: 15.57 MB / 250.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.7685/0.7685, allocations: 154.6 MB / 398.5 MB, free: 0.5039 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2411/1.01, allocations: 49.04 MB / 447.6 MB, free: 6.656 MB / 426.7 MB " [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.262e-06/1.262e-06, allocations: 0 / 448.9 MB, free: 5.352 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.805e-06/9.067e-06, allocations: 3.719 kB / 448.9 MB, free: 5.348 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.001984/0.001993, allocations: 1.887 MB / 450.8 MB, free: 3.492 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001312/0.003305, allocations: 1.169 MB / 452 MB, free: 2.328 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.409e-05/0.003389, allocations: 4 kB / 452 MB, free: 2.324 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004033/0.003792, allocations: 154.3 kB / 452.1 MB, free: 2.176 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00028/0.004072, allocations: 161.2 kB / 452.3 MB, free: 2.027 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003104/0.004383, allocations: 144.7 kB / 452.4 MB, free: 1.887 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002069/0.00459, allocations: 173.2 kB / 452.6 MB, free: 1.727 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.344e-05/0.004673, allocations: 17.95 kB / 452.6 MB, free: 1.711 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001514/0.004824, allocations: 133.7 kB / 452.7 MB, free: 1.582 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.555e-05/0.00492, allocations: 63.86 kB / 452.8 MB, free: 1.52 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.004936, allocations: 8 kB / 452.8 MB, free: 1.512 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001388/0.005075, allocations: 72.56 kB / 452.9 MB, free: 1.441 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 6.349e-05/0.005139, allocations: 39.86 kB / 452.9 MB, free: 1.402 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.871e-05/0.005177, allocations: 32.88 kB / 453 MB, free: 1.371 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001924/0.00537, allocations: 147.4 kB / 453.1 MB, free: 1.227 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.335e-05/0.005383, allocations: 0 / 453.1 MB, free: 1.227 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.005384, allocations: 0.9062 kB / 453.1 MB, free: 1.227 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.591e-05/0.0054, allocations: 0 / 453.1 MB, free: 1.227 MB / 426.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.0005105/0.00591, allocations: 435.7 kB / 453.5 MB, free: 0.7734 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.917e-05/0.005939, allocations: 12.03 kB / 453.5 MB, free: 0.7617 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.698e-05/0.005976, allocations: 14.58 kB / 453.5 MB, free: 0.75 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001966/0.006173, allocations: 178.9 kB / 453.7 MB, free: 0.5469 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.006187, allocations: 384 / 453.7 MB, free: 0.5469 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.143e-05/0.006198, allocations: 9.672 kB / 453.7 MB, free: 0.5391 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.006302, allocations: 61.92 kB / 453.8 MB, free: 484 kB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.006309, allocations: 0 / 453.8 MB, free: 484 kB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.683e-06/0.006315, allocations: 4 kB / 453.8 MB, free: 480 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.622e-05/0.006332, allocations: 0 / 453.8 MB, free: 480 kB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.035e-05/0.006362, allocations: 20.66 kB / 453.8 MB, free: 460 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000251/0.006613, allocations: 202.9 kB / 454 MB, free: 240 kB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.965e-05/0.006703, allocations: 93.23 kB / 454.1 MB, free: 136 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.991e-05/0.006722, allocations: 17.47 kB / 454.1 MB, free: 116 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.979e-06/0.006732, allocations: 3.312 kB / 454.1 MB, free: 116 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.637e-05/0.006829, allocations: 70.91 kB / 454.2 MB, free: 32 kB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 1.403e-06/0.00683, allocations: 112 / 454.2 MB, free: 32 kB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001385/0.006969, allocations: 81.59 kB / 454.3 MB, free: 15.94 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.923e-05/0.006998, allocations: 51.41 kB / 454.3 MB, free: 15.88 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.007128, allocations: 224.7 kB / 454.5 MB, free: 15.65 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.007141, allocations: 25.7 kB / 454.6 MB, free: 15.62 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.889e-05/0.00718, allocations: 104.6 kB / 454.7 MB, free: 15.51 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.319e-05/0.007203, allocations: 28.69 kB / 454.7 MB, free: 15.48 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.994e-05/0.007233, allocations: 25.69 kB / 454.7 MB, free: 15.45 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.174e-05/0.007315, allocations: 334.7 kB / 455.1 MB, free: 15.12 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.714e-05/0.007332, allocations: 16.05 kB / 455.1 MB, free: 15.1 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.656e-05/0.007368, allocations: 60.2 kB / 455.1 MB, free: 15.03 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.43e-05/0.007413, allocations: 44.09 kB / 455.2 MB, free: 14.98 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.007415, allocations: 0 / 455.2 MB, free: 14.98 MB / 442.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 7.502e-05/0.00749, allocations: 73 kB / 455.2 MB, free: 14.9 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.007501, allocations: 8.688 kB / 455.2 MB, free: 14.89 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.007506, allocations: 0.7031 kB / 455.2 MB, free: 14.89 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.007516, allocations: 0 / 455.2 MB, free: 14.89 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.74e-05/0.007573, allocations: 20.5 kB / 455.3 MB, free: 14.87 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.007579, allocations: 11.97 kB / 455.3 MB, free: 14.86 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.152e-05/0.00761, allocations: 8.578 kB / 455.3 MB, free: 14.85 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-06/0.007615, allocations: 0.625 kB / 455.3 MB, free: 14.85 MB / 442.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.215e-05/0.007687, allocations: 127.3 kB / 455.4 MB, free: 14.72 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.236e-05/0.007699, allocations: 7.984 kB / 455.4 MB, free: 14.71 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.224e-05/0.007792, allocations: 76.8 kB / 455.5 MB, free: 14.63 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/0.0078, allocations: 7.984 kB / 455.5 MB, free: 14.62 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.007802, allocations: 3.938 kB / 455.5 MB, free: 14.62 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.007804, allocations: 0 / 455.5 MB, free: 14.62 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.473e-05/0.007899, allocations: 110.7 kB / 455.6 MB, free: 14.49 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.007901, allocations: 3.938 kB / 455.6 MB, free: 14.49 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.218e-05/0.007924, allocations: 7.984 kB / 455.6 MB, free: 14.48 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.213e-05/0.007946, allocations: 20.89 kB / 455.6 MB, free: 14.46 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.007948, allocations: 0.6562 kB / 455.6 MB, free: 14.46 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/0.007953, allocations: 5.312 kB / 455.7 MB, free: 14.46 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.007954, allocations: 0 / 455.7 MB, free: 14.46 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.007955, allocations: 0 / 455.7 MB, free: 14.46 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.823e-05/0.008033, allocations: 101.5 kB / 455.8 MB, free: 14.34 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.608e-05/0.008049, allocations: 4.656 kB / 455.8 MB, free: 14.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.506e-05/0.008074, allocations: 5.219 kB / 455.8 MB, free: 14.33 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.686e-05/0.008101, allocations: 7.984 kB / 455.8 MB, free: 14.32 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.008106, allocations: 3.938 kB / 455.8 MB, free: 14.32 MB / 442.7 MB Notification: Performance of sorting global known variables: time 5.728e-05/0.008163, allocations: 75.61 kB / 455.8 MB, free: 14.24 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008164, allocations: 1.062 kB / 455.8 MB, free: 14.24 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001369/0.0083, allocations: 35.89 kB / 455.9 MB, free: 14.21 MB / 442.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.001333/0.009634, allocations: 0.5636 MB / 456.4 MB, free: 14 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 9.875e-05/0.009732, allocations: 40.83 kB / 456.5 MB, free: 13.96 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.126e-06/0.009741, allocations: 9.375 kB / 456.5 MB, free: 13.95 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.845e-05/0.009769, allocations: 20.84 kB / 456.5 MB, free: 13.93 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000152/0.009921, allocations: 59.45 kB / 456.6 MB, free: 13.87 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004588/0.01038, allocations: 276.8 kB / 456.8 MB, free: 13.57 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.208e-05/0.01042, allocations: 79.83 kB / 456.9 MB, free: 13.48 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 4.137e-05/0.01046, allocations: 19.53 kB / 456.9 MB, free: 13.46 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.927e-05/0.01053, allocations: 75.36 kB / 457 MB, free: 13.39 MB / 442.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01053, allocations: 0.5625 kB / 457 MB, free: 13.39 MB / 442.7 MB Notification: Performance of Templates: time 0.004382/0.01492, allocations: 2.668 MB / 459.7 MB, free: 10.95 MB / 442.7 MB " [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.5041931066662073]