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.0007662/0.0007662, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001115/0.001882, allocations: 440 kB / 10.41 MB, free: 284 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.001012/0.001012, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001758/0.00277, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9907/0.9907, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09297/1.084, allocations: 53.67 MB / 243.4 MB, free: 15.51 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.8641/0.8641, allocations: 154.6 MB / 398.8 MB, free: 388 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2633/1.127, allocations: 49.04 MB / 447.8 MB, free: 6.586 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.212e-06/1.212e-06, allocations: 0 / 449.2 MB, free: 5.258 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.023e-05/1.144e-05, allocations: 4.281 kB / 449.2 MB, free: 5.254 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.002585/0.002597, allocations: 1.892 MB / 451.1 MB, free: 3.387 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004614/0.007211, allocations: 1.169 MB / 452.2 MB, free: 2.223 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.081e-05/0.007292, allocations: 5.688 kB / 452.2 MB, free: 2.219 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000445/0.007737, allocations: 157.2 kB / 452.4 MB, free: 2.066 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002786/0.008015, allocations: 164.3 kB / 452.6 MB, free: 1.914 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002896/0.008305, allocations: 145.7 kB / 452.7 MB, free: 1.773 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002195/0.008524, allocations: 175.6 kB / 452.9 MB, free: 1.617 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.628e-05/0.008611, allocations: 18.86 kB / 452.9 MB, free: 1.602 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001804/0.008791, allocations: 136.5 kB / 453 MB, free: 1.469 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.0089, allocations: 68.42 kB / 453.1 MB, free: 1.402 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.044e-05/0.00892, allocations: 8 kB / 453.1 MB, free: 1.395 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001475/0.009068, allocations: 73.47 kB / 453.2 MB, free: 1.324 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 7.012e-05/0.009138, allocations: 43.86 kB / 453.2 MB, free: 1.281 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 4.144e-05/0.009179, allocations: 23.94 kB / 453.2 MB, free: 1.258 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003235/0.01241, allocations: 151.3 kB / 453.4 MB, free: 1.109 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.085e-05/0.01242, allocations: 0.6875 kB / 453.4 MB, free: 1.109 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.01243, allocations: 0 / 453.4 MB, free: 1.109 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.388e-05/0.01244, allocations: 1.094 kB / 453.4 MB, free: 1.109 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.0005623/0.013, allocations: 427.2 kB / 453.8 MB, free: 0.6641 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.01303, allocations: 12.03 kB / 453.8 MB, free: 0.6523 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.488e-05/0.01308, allocations: 13.55 kB / 453.8 MB, free: 0.6406 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002193/0.0133, allocations: 190.2 kB / 454 MB, free: 440 kB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.01331, allocations: 384 / 454 MB, free: 440 kB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.915e-05/0.01333, allocations: 12.11 kB / 454 MB, free: 428 kB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.01345, allocations: 60.56 kB / 454.1 MB, free: 364 kB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.01345, allocations: 4 kB / 454.1 MB, free: 360 kB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.01346, allocations: 4 kB / 454.1 MB, free: 356 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.779e-05/0.01348, allocations: 0 / 454.1 MB, free: 356 kB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.215e-05/0.01351, allocations: 15.98 kB / 454.1 MB, free: 340 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000291/0.0138, allocations: 202.7 kB / 454.3 MB, free: 120 kB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000105/0.01391, allocations: 93.27 kB / 454.4 MB, free: 16 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.467e-05/0.01393, allocations: 14.73 kB / 454.4 MB, free: 0 / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.087e-05/0.01394, allocations: 0 / 454.4 MB, free: 0 / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001238/0.01407, allocations: 71.05 kB / 454.5 MB, free: 15.92 MB / 442.7 MB Notification: Performance of pre-optimization done (n=10): time 1.362e-06/0.01407, allocations: 0 / 454.5 MB, free: 15.92 MB / 442.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001515/0.01422, allocations: 74.41 kB / 454.5 MB, free: 15.84 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.484e-05/0.01425, allocations: 55.34 kB / 454.6 MB, free: 15.77 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001743/0.01442, allocations: 229.3 kB / 454.8 MB, free: 15.54 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.01444, allocations: 26.39 kB / 454.9 MB, free: 15.51 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.854e-05/0.01448, allocations: 104.6 kB / 455 MB, free: 15.4 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.878e-05/0.01451, allocations: 28.41 kB / 455 MB, free: 15.38 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.196e-05/0.01456, allocations: 30.25 kB / 455 MB, free: 15.34 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.249e-05/0.01465, allocations: 334.7 kB / 455.3 MB, free: 15 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.956e-05/0.01467, allocations: 11.45 kB / 455.3 MB, free: 14.99 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.57e-05/0.01471, allocations: 56.89 kB / 455.4 MB, free: 14.92 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.746e-05/0.01477, allocations: 44.22 kB / 455.4 MB, free: 14.87 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.01477, allocations: 4 kB / 455.5 MB, free: 14.87 MB / 442.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 9.788e-05/0.01487, allocations: 74.16 kB / 455.5 MB, free: 14.79 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.01489, allocations: 8 kB / 455.5 MB, free: 14.78 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.01489, allocations: 272 / 455.5 MB, free: 14.78 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.0149, allocations: 3.938 kB / 455.5 MB, free: 14.78 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.441e-05/0.01497, allocations: 12.89 kB / 455.5 MB, free: 14.77 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.01497, allocations: 7.984 kB / 455.6 MB, free: 14.76 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.076e-05/0.01501, allocations: 7.953 kB / 455.6 MB, free: 14.75 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.01502, allocations: 1 kB / 455.6 MB, free: 14.75 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 0.003099/0.01812, allocations: 130.7 kB / 455.7 MB, free: 14.61 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.927e-05/0.01814, allocations: 7.984 kB / 455.7 MB, free: 14.61 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001203/0.01826, allocations: 87.84 kB / 455.8 MB, free: 14.51 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.779e-06/0.01827, allocations: 4.656 kB / 455.8 MB, free: 14.51 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.01827, allocations: 0 / 455.8 MB, free: 14.51 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.01827, allocations: 1.219 kB / 455.8 MB, free: 14.51 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001174/0.01839, allocations: 101.8 kB / 455.9 MB, free: 14.39 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.01839, allocations: 3.938 kB / 455.9 MB, free: 14.39 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.455e-05/0.01842, allocations: 13.05 kB / 455.9 MB, free: 14.38 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.94e-05/0.01844, allocations: 15.91 kB / 455.9 MB, free: 14.36 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.01844, allocations: 0.6562 kB / 455.9 MB, free: 14.36 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.4e-06/0.01845, allocations: 1.156 kB / 455.9 MB, free: 14.36 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.01845, allocations: 0 / 455.9 MB, free: 14.36 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.01845, allocations: 0 / 455.9 MB, free: 14.36 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.808e-05/0.01855, allocations: 111.3 kB / 456 MB, free: 14.23 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.26e-05/0.01857, allocations: 8 kB / 456 MB, free: 14.22 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.026e-05/0.0186, allocations: 1.5 kB / 456 MB, free: 14.22 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.763e-05/0.01863, allocations: 7.984 kB / 456.1 MB, free: 14.21 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-06/0.01863, allocations: 0 / 456.1 MB, free: 14.21 MB / 442.7 MB Notification: Performance of sorting global known variables: time 7.906e-05/0.01871, allocations: 75.61 kB / 456.1 MB, free: 14.14 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01871, allocations: 1.5 kB / 456.1 MB, free: 14.14 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001833/0.0189, allocations: 31.89 kB / 456.2 MB, free: 14.11 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.001515/0.02041, allocations: 0.5665 MB / 456.7 MB, free: 13.89 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001101/0.02052, allocations: 50.47 kB / 456.8 MB, free: 13.84 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.02053, allocations: 0 / 456.8 MB, free: 13.84 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.763e-05/0.02058, allocations: 28.83 kB / 456.8 MB, free: 13.81 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002395/0.02082, allocations: 238.9 kB / 457 MB, free: 13.55 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003556/0.02437, allocations: 277.7 kB / 457.3 MB, free: 13.25 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.479e-05/0.02442, allocations: 79.69 kB / 457.4 MB, free: 13.16 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 5.506e-05/0.02447, allocations: 25.5 kB / 457.4 MB, free: 13.14 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.519e-05/0.02456, allocations: 75.36 kB / 457.5 MB, free: 13.06 MB / 442.7 MB Notification: Performance of SimCode: time 6.32e-07/0.02456, allocations: 0 / 457.5 MB, free: 13.06 MB / 442.7 MB Notification: Performance of Templates: time 0.01153/0.03609, allocations: 2.672 MB / 460.2 MB, free: 10.61 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.7059022337198257]