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.0007184/0.0007184, allocations: 96.36 kB / 19.7 MB, free: 452 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.0009084/0.0009084, allocations: 216.7 kB / 23 MB, free: 2.977 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.8847/0.8847, allocations: 230.6 MB / 256.8 MB, free: 9.629 MB / 202.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-531:190: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-531:198: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.7545/0.7545, allocations: 203.8 MB / 0.5049 GB, free: 10.43 MB / 410.7 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009273/0.0009273, allocations: 70.22 kB / 0.7194 GB, free: 3.578 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5006/0.5015, allocations: 102 MB / 0.819 GB, free: 1.355 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.002389/0.5039, allocations: 1.792 MB / 0.8208 GB, free: 132 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001507/0.5054, allocations: 1.123 MB / 0.8219 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.881e-05/0.5055, allocations: 1.219 kB / 0.8219 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006222/0.5061, allocations: 181.3 kB / 0.822 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000301/0.5064, allocations: 151.4 kB / 0.8222 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003089/0.5067, allocations: 143.2 kB / 0.8223 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002164/0.5069, allocations: 174.5 kB / 0.8225 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.507, allocations: 23.42 kB / 0.8225 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.918e-05/0.5071, allocations: 82.5 kB / 0.8226 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.584e-05/0.5072, allocations: 74.53 kB / 0.8227 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.5072, allocations: 5.969 kB / 0.8227 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001214/0.5074, allocations: 68 kB / 0.8227 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.457e-05/0.5074, allocations: 51.77 kB / 0.8228 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.599e-05/0.5075, allocations: 42.92 kB / 0.8228 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002779/0.5078, allocations: 210.4 kB / 0.823 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.5078, allocations: 1.375 kB / 0.823 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.304e-06/0.5078, allocations: 0 / 0.823 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.5078, allocations: 0 / 0.823 GB, free: 14.89 MB / 0.6198 GB 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.000596/0.5084, allocations: 431.1 kB / 0.8234 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.5084, allocations: 8.5 kB / 0.8234 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.047e-05/0.5085, allocations: 22 kB / 0.8235 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002425/0.5087, allocations: 192.7 kB / 0.8236 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.5087, allocations: 10.52 kB / 0.8236 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/0.5087, allocations: 10.97 kB / 0.8237 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.5089, allocations: 78.69 kB / 0.8237 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.5089, allocations: 0.9375 kB / 0.8237 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.5089, allocations: 1.438 kB / 0.8237 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.5089, allocations: 3.625 kB / 0.8237 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.751e-05/0.509, allocations: 37.02 kB / 0.8238 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003994/0.5094, allocations: 290.3 kB / 0.8241 GB, free: 14 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001488/0.5095, allocations: 74.5 kB / 0.8241 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.741e-05/0.5096, allocations: 35.55 kB / 0.8242 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.545e-05/0.5096, allocations: 1.812 kB / 0.8242 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001329/0.5097, allocations: 85.75 kB / 0.8242 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.312e-06/0.5097, allocations: 0 / 0.8242 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0002675/0.51, allocations: 145 kB / 0.8244 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.106e-05/0.51, allocations: 56.91 kB / 0.8244 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002453/0.5103, allocations: 273.8 kB / 0.8247 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.5103, allocations: 26.8 kB / 0.8247 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.894e-05/0.5104, allocations: 120.9 kB / 0.8248 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.181e-05/0.5104, allocations: 31.34 kB / 0.8249 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.125e-05/0.5105, allocations: 28.33 kB / 0.8249 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.306e-05/0.5105, allocations: 333.5 kB / 0.8252 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.432e-05/0.5106, allocations: 28.56 kB / 0.8252 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.542e-05/0.5107, allocations: 83.41 kB / 0.8253 GB, free: 13 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.421e-05/0.5108, allocations: 83.72 kB / 0.8254 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.5108, allocations: 0 / 0.8254 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001504/0.5109, allocations: 116.5 kB / 0.8255 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.5109, allocations: 9.812 kB / 0.8255 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.5109, allocations: 1.266 kB / 0.8255 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.511, allocations: 5.312 kB / 0.8255 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.106e-05/0.511, allocations: 10.59 kB / 0.8255 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.511, allocations: 1.5 kB / 0.8255 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.825e-05/0.5111, allocations: 12.67 kB / 0.8255 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.417e-06/0.5111, allocations: 6.844 kB / 0.8256 GB, free: 12.88 MB / 0.6198 GB 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 9.901e-05/0.5112, allocations: 144.1 kB / 0.8257 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.876e-05/0.5112, allocations: 16.61 kB / 0.8257 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001996/0.5114, allocations: 135.9 kB / 0.8258 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/0.5114, allocations: 3.641 kB / 0.8258 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.5114, allocations: 0 / 0.8258 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.5114, allocations: 1.719 kB / 0.8258 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001498/0.5116, allocations: 169.3 kB / 0.826 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.5116, allocations: 1.125 kB / 0.826 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.284e-05/0.5116, allocations: 5.359 kB / 0.826 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.5116, allocations: 5.172 kB / 0.826 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.5116, allocations: 1.938 kB / 0.826 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.5116, allocations: 0.5156 kB / 0.826 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.5116, allocations: 4 kB / 0.826 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001657/0.5118, allocations: 159.8 kB / 0.8262 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.441e-05/0.5118, allocations: 18.05 kB / 0.8262 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.5118, allocations: 2.516 kB / 0.8262 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.6e-05/0.5118, allocations: 3.672 kB / 0.8262 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.812e-05/0.5119, allocations: 6.375 kB / 0.8262 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/0.5119, allocations: 3.219 kB / 0.8262 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001495/0.512, allocations: 202.7 kB / 0.8264 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.512, allocations: 0 / 0.8264 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001774/0.5122, allocations: 33.8 kB / 0.8264 GB, free: 12.27 MB / 0.6198 GB 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.0007966/0.513, allocations: 452.5 kB / 0.8269 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001779/0.5132, allocations: 79.91 kB / 0.8269 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.5132, allocations: 0 / 0.8269 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.508e-05/0.5132, allocations: 34.48 kB / 0.827 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002117/0.5135, allocations: 37.95 kB / 0.827 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004804/0.5139, allocations: 351 kB / 0.8273 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.096e-05/0.514, allocations: 118.9 kB / 0.8275 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.796e-05/0.5141, allocations: 19.02 kB / 0.8275 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of SimCode: time 2.7e-07/0.5141, allocations: 0 / 0.8275 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of Templates: time 0.004412/0.5185, allocations: 2.673 MB / 0.8301 GB, free: 11.39 MB / 0.6198 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.253685740754008] Failed to read output from testmodel.py, exit status != 0: 0.52493946114555 0.536349281 0.025784203000000002 Calling exit ...