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.001111/0.001111, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001071/0.001071, allocations: 181 kB / 23.36 MB, free: 1.133 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.036/1.036, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.7949/0.7949, allocations: 154.9 MB / 415.1 MB, free: 228 kB / 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.513e-06/1.513e-06, allocations: 0 / 480.4 MB, free: 6.516 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.32e-05/2.472e-05, allocations: 4.422 kB / 480.4 MB, free: 6.512 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.00308/0.003105, allocations: 1.88 MB / 482.3 MB, free: 4.656 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001734/0.004839, allocations: 1.164 MB / 483.4 MB, free: 3.5 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001122/0.004951, allocations: 4.906 kB / 483.5 MB, free: 3.496 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005947/0.005546, allocations: 171.1 kB / 483.6 MB, free: 3.332 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003491/0.005895, allocations: 161.3 kB / 483.8 MB, free: 3.184 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003794/0.006274, allocations: 137.1 kB / 483.9 MB, free: 3.051 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002681/0.006542, allocations: 175.8 kB / 484.1 MB, free: 2.883 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.00665, allocations: 25.09 kB / 484.1 MB, free: 2.859 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001491/0.006799, allocations: 91.69 kB / 484.2 MB, free: 2.77 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001243/0.006923, allocations: 64.92 kB / 484.3 MB, free: 2.707 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.184e-05/0.006945, allocations: 8 kB / 484.3 MB, free: 2.699 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001935/0.007139, allocations: 67.88 kB / 484.3 MB, free: 2.633 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 7.927e-05/0.007218, allocations: 52.58 kB / 484.4 MB, free: 2.582 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 5.264e-05/0.007271, allocations: 31.86 kB / 484.4 MB, free: 2.551 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002804/0.007551, allocations: 160.3 kB / 484.6 MB, free: 2.395 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.007555, allocations: 0 / 484.6 MB, free: 2.395 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.007556, allocations: 4.719 kB / 484.6 MB, free: 2.391 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.007562, allocations: 0 / 484.6 MB, free: 2.391 MB / 442.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.000543/0.008105, allocations: 409.7 kB / 485 MB, free: 1.965 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.00814, allocations: 8.031 kB / 485 MB, free: 1.957 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.847e-05/0.008188, allocations: 16.92 kB / 485 MB, free: 1.941 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000254/0.008442, allocations: 183.3 kB / 485.2 MB, free: 1.738 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.008461, allocations: 4.375 kB / 485.2 MB, free: 1.734 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/0.008473, allocations: 4.375 kB / 485.2 MB, free: 1.73 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.008613, allocations: 62.91 kB / 485.3 MB, free: 1.664 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.008622, allocations: 3.938 kB / 485.3 MB, free: 1.66 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.246e-06/0.00863, allocations: 0.7812 kB / 485.3 MB, free: 1.66 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.375e-05/0.008654, allocations: 5.078 kB / 485.3 MB, free: 1.656 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.92e-05/0.008693, allocations: 20.7 kB / 485.3 MB, free: 1.637 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003507/0.009044, allocations: 202.5 kB / 485.5 MB, free: 1.422 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001105/0.009154, allocations: 86.53 kB / 485.6 MB, free: 1.328 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.713e-05/0.009182, allocations: 16.84 kB / 485.6 MB, free: 1.309 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.627e-05/0.009198, allocations: 15.88 kB / 485.6 MB, free: 1.293 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001097/0.009307, allocations: 63.23 kB / 485.7 MB, free: 1.219 MB / 442.7 MB Notification: Performance of pre-optimization done (n=10): time 2.565e-06/0.00931, allocations: 1.078 kB / 485.7 MB, free: 1.219 MB / 442.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001494/0.009459, allocations: 74.36 kB / 485.7 MB, free: 1.141 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/0.009489, allocations: 55.39 kB / 485.8 MB, free: 1.074 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001732/0.009662, allocations: 222.4 kB / 486 MB, free: 0.8438 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.009678, allocations: 25.7 kB / 486 MB, free: 0.8125 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.817e-05/0.009727, allocations: 109.2 kB / 486.1 MB, free: 0.7031 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.888e-05/0.009755, allocations: 23.78 kB / 486.2 MB, free: 0.6797 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.576e-05/0.009801, allocations: 30.31 kB / 486.2 MB, free: 0.6445 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.136e-05/0.009893, allocations: 327.4 kB / 486.5 MB, free: 324 kB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.576e-05/0.009918, allocations: 10.81 kB / 486.5 MB, free: 312 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.624e-05/0.009965, allocations: 56.89 kB / 486.6 MB, free: 240 kB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.887e-05/0.01002, allocations: 47.91 kB / 486.6 MB, free: 184 kB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.01003, allocations: 0.625 kB / 486.6 MB, free: 184 kB / 442.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001114/0.01014, allocations: 80.97 kB / 486.7 MB, free: 96 kB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.01015, allocations: 4 kB / 486.7 MB, free: 92 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.01016, allocations: 0.8125 kB / 486.7 MB, free: 92 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.01017, allocations: 0 / 486.7 MB, free: 92 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.54e-05/0.01023, allocations: 13.78 kB / 486.7 MB, free: 80 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.796e-06/0.01024, allocations: 0 / 486.7 MB, free: 80 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.503e-05/0.01028, allocations: 11.94 kB / 486.7 MB, free: 68 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.01029, allocations: 0 / 486.7 MB, free: 68 kB / 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 0.0001018/0.01039, allocations: 129.9 kB / 486.9 MB, free: 15.93 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.076e-05/0.01041, allocations: 19.86 kB / 486.9 MB, free: 15.91 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001228/0.01053, allocations: 71.67 kB / 486.9 MB, free: 15.83 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.347e-05/0.01055, allocations: 8.594 kB / 487 MB, free: 15.82 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.01055, allocations: 5 kB / 487 MB, free: 15.82 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.01055, allocations: 0 / 487 MB, free: 15.82 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001266/0.01068, allocations: 106.3 kB / 487.1 MB, free: 15.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.01068, allocations: 0 / 487.1 MB, free: 15.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.725e-05/0.01071, allocations: 9 kB / 487.1 MB, free: 15.69 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.01071, allocations: 0 / 487.1 MB, free: 15.69 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.01072, allocations: 7.922 kB / 487.1 MB, free: 15.68 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.01072, allocations: 1.094 kB / 487.1 MB, free: 15.68 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.01072, allocations: 3.938 kB / 487.1 MB, free: 15.68 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001079/0.01083, allocations: 100.9 kB / 487.2 MB, free: 15.57 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.271e-05/0.01085, allocations: 15.91 kB / 487.2 MB, free: 15.55 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.01088, allocations: 11.92 kB / 487.2 MB, free: 15.54 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.309e-05/0.01091, allocations: 0 / 487.2 MB, free: 15.54 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.002e-05/0.01094, allocations: 7.984 kB / 487.2 MB, free: 15.53 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.797e-06/0.01095, allocations: 7.938 kB / 487.2 MB, free: 15.52 MB / 458.7 MB Notification: Performance of sorting global known variables: time 8.187e-05/0.01103, allocations: 76.48 kB / 487.3 MB, free: 15.45 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01103, allocations: 0 / 487.3 MB, free: 15.45 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002071/0.01124, allocations: 36.83 kB / 487.3 MB, free: 15.41 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.00137/0.01261, allocations: 0.5114 MB / 487.8 MB, free: 15.21 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001296/0.01274, allocations: 42.66 kB / 487.9 MB, free: 15.17 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/0.01274, allocations: 4 kB / 487.9 MB, free: 15.16 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 4.652e-05/0.01279, allocations: 28.77 kB / 487.9 MB, free: 15.13 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002007/0.01299, allocations: 38.5 kB / 488 MB, free: 15.1 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005099/0.0135, allocations: 287.2 kB / 488.2 MB, free: 14.79 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.237e-05/0.01356, allocations: 75.83 kB / 488.3 MB, free: 14.7 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 5.706e-05/0.01362, allocations: 16.55 kB / 488.3 MB, free: 14.68 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.544e-05/0.01372, allocations: 75.36 kB / 488.4 MB, free: 14.61 MB / 458.7 MB Notification: Performance of SimCode: time 1.543e-06/0.01372, allocations: 0 / 488.4 MB, free: 14.61 MB / 458.7 MB Notification: Performance of Templates: time 0.006152/0.01987, allocations: 2.632 MB / 491 MB, free: 12.19 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8527964279055595]