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.001375/0.001375, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001967/0.001967, allocations: 177.4 kB / 23.36 MB, free: 1.129 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.9235/0.9235, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.8036/0.8036, allocations: 154.6 MB / 414.8 MB, free: 492 kB / 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.242e-06/1.242e-06, allocations: 0 / 480 MB, free: 6.949 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.903e-05/2.027e-05, allocations: 5.156 kB / 480 MB, free: 6.945 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.002325/0.002345, allocations: 1.844 MB / 481.9 MB, free: 5.125 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001335/0.003681, allocations: 1.159 MB / 483 MB, free: 3.973 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.5e-05/0.003756, allocations: 0 / 483 MB, free: 3.973 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005133/0.004269, allocations: 170 kB / 483.2 MB, free: 3.809 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002691/0.004538, allocations: 161.9 kB / 483.3 MB, free: 3.66 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002455/0.004784, allocations: 144.2 kB / 483.5 MB, free: 3.52 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001806/0.004964, allocations: 181 kB / 483.7 MB, free: 3.348 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.899e-05/0.005043, allocations: 9.969 kB / 483.7 MB, free: 3.34 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.005155, allocations: 103.7 kB / 483.8 MB, free: 3.238 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.632e-05/0.005241, allocations: 64.48 kB / 483.8 MB, free: 3.176 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.642e-05/0.005258, allocations: 8 kB / 483.8 MB, free: 3.168 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.005365, allocations: 71.25 kB / 483.9 MB, free: 3.102 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 5.695e-05/0.005422, allocations: 43.84 kB / 483.9 MB, free: 3.059 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.054e-05/0.005462, allocations: 47.84 kB / 484 MB, free: 3.012 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001804/0.005643, allocations: 155.4 kB / 484.1 MB, free: 2.859 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.784e-06/0.005645, allocations: 0 / 484.1 MB, free: 2.859 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.005645, allocations: 0 / 484.1 MB, free: 2.859 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.966e-06/0.005648, allocations: 0 / 484.1 MB, free: 2.859 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.0004174/0.006066, allocations: 400.6 kB / 484.5 MB, free: 2.441 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.925e-05/0.006095, allocations: 13.3 kB / 484.5 MB, free: 2.43 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.568e-05/0.006131, allocations: 8.938 kB / 484.6 MB, free: 2.422 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001778/0.006309, allocations: 194.1 kB / 484.7 MB, free: 2.207 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.006324, allocations: 4.375 kB / 484.8 MB, free: 2.203 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.19e-05/0.006336, allocations: 5.062 kB / 484.8 MB, free: 2.199 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.688e-05/0.006433, allocations: 57.61 kB / 484.8 MB, free: 2.137 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.00644, allocations: 3.938 kB / 484.8 MB, free: 2.133 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.881e-06/0.006446, allocations: 0.625 kB / 484.8 MB, free: 2.133 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.789e-05/0.006464, allocations: 4.625 kB / 484.8 MB, free: 2.129 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.654e-05/0.00649, allocations: 16.53 kB / 484.8 MB, free: 2.113 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002467/0.006737, allocations: 206.4 kB / 485 MB, free: 1.895 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.003e-05/0.006827, allocations: 95 kB / 485.1 MB, free: 1.793 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.009e-05/0.006847, allocations: 17.47 kB / 485.1 MB, free: 1.773 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.065e-05/0.006858, allocations: 4.875 kB / 485.2 MB, free: 1.77 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.247e-05/0.00694, allocations: 70.14 kB / 485.2 MB, free: 1.688 MB / 442.7 MB Notification: Performance of pre-optimization done (n=10): time 1.463e-06/0.006941, allocations: 1.719 kB / 485.2 MB, free: 1.688 MB / 442.7 MB Notification: Performance of matching and sorting (n=10): time 0.000119/0.00706, allocations: 73.61 kB / 485.3 MB, free: 1.609 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.494e-05/0.007085, allocations: 55.41 kB / 485.3 MB, free: 1.543 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.007215, allocations: 222.7 kB / 485.6 MB, free: 1.312 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.007229, allocations: 26.61 kB / 485.6 MB, free: 1.281 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.948e-05/0.007268, allocations: 104.6 kB / 485.7 MB, free: 1.172 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.044e-05/0.007289, allocations: 19.86 kB / 485.7 MB, free: 1.152 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.091e-05/0.00732, allocations: 26.69 kB / 485.7 MB, free: 1.121 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.636e-05/0.007396, allocations: 330.8 kB / 486.1 MB, free: 0.7891 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.867e-05/0.007415, allocations: 11.36 kB / 486.1 MB, free: 0.7773 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.602e-05/0.007451, allocations: 57.58 kB / 486.1 MB, free: 0.707 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00029/0.007741, allocations: 47.28 kB / 486.2 MB, free: 0.6523 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.007742, allocations: 0 / 486.2 MB, free: 0.6523 MB / 442.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 7.72e-05/0.00782, allocations: 81.02 kB / 486.3 MB, free: 0.5664 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.00783, allocations: 5.219 kB / 486.3 MB, free: 0.5625 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.007836, allocations: 0 / 486.3 MB, free: 0.5625 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.007848, allocations: 4 kB / 486.3 MB, free: 0.5586 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.801e-05/0.007896, allocations: 9.062 kB / 486.3 MB, free: 0.5508 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.194e-06/0.007899, allocations: 0 / 486.3 MB, free: 0.5508 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.217e-05/0.007931, allocations: 19.88 kB / 486.3 MB, free: 0.5312 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.007935, allocations: 1.156 kB / 486.3 MB, free: 0.5312 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 6.71e-05/0.008003, allocations: 124.6 kB / 486.4 MB, free: 408 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.578e-05/0.008018, allocations: 18.42 kB / 486.4 MB, free: 392 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.896e-05/0.008107, allocations: 71.81 kB / 486.5 MB, free: 308 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.437e-06/0.008117, allocations: 4 kB / 486.5 MB, free: 304 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-06/0.008118, allocations: 1.875 kB / 486.5 MB, free: 304 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.008122, allocations: 3.984 kB / 486.5 MB, free: 300 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.316e-05/0.008215, allocations: 105.8 kB / 486.6 MB, free: 176 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.008217, allocations: 0 / 486.6 MB, free: 176 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.774e-05/0.008235, allocations: 8 kB / 486.6 MB, free: 168 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.008236, allocations: 0.5 kB / 486.6 MB, free: 168 kB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.008244, allocations: 4.469 kB / 486.6 MB, free: 164 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.008244, allocations: 0 / 486.6 MB, free: 164 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.008245, allocations: 0.875 kB / 486.6 MB, free: 164 kB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.512e-05/0.00832, allocations: 106.3 kB / 486.7 MB, free: 40 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.766e-05/0.008337, allocations: 21.23 kB / 486.8 MB, free: 20 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/0.008356, allocations: 11.94 kB / 486.8 MB, free: 8 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.558e-05/0.008381, allocations: 7.984 kB / 486.8 MB, free: 0 / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.6e-05/0.008417, allocations: 4.047 kB / 486.8 MB, free: 15.99 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.008424, allocations: 8.688 kB / 486.8 MB, free: 15.99 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.716e-05/0.008481, allocations: 67.95 kB / 486.9 MB, free: 15.92 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008481, allocations: 0.5938 kB / 486.9 MB, free: 15.92 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.000136/0.008617, allocations: 41.31 kB / 486.9 MB, free: 15.88 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.001134/0.009751, allocations: 0.5067 MB / 487.4 MB, free: 15.68 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001009/0.009851, allocations: 48.27 kB / 487.4 MB, free: 15.63 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.009855, allocations: 4.656 kB / 487.5 MB, free: 15.63 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.089e-05/0.009886, allocations: 21.53 kB / 487.5 MB, free: 15.61 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001394/0.01003, allocations: 44 kB / 487.5 MB, free: 15.57 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003408/0.01037, allocations: 279.3 kB / 487.8 MB, free: 15.27 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.511e-05/0.01041, allocations: 79.81 kB / 487.9 MB, free: 15.17 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.232e-05/0.01045, allocations: 18.27 kB / 487.9 MB, free: 15.15 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.151e-05/0.01053, allocations: 71.98 kB / 488 MB, free: 15.08 MB / 458.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01053, allocations: 0 / 488 MB, free: 15.08 MB / 458.7 MB Notification: Performance of Templates: time 0.004407/0.01493, allocations: 2.648 MB / 490.6 MB, free: 12.66 MB / 458.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.7184764961712062]