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.0007472/0.0007472, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 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.0008186/0.0008186, allocations: 215.7 kB / 23.01 MB, free: 3.109 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.8638/0.8638, allocations: 230.6 MB / 256.8 MB, free: 3.461 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.7332/0.7332, allocations: 203.8 MB / 0.5049 GB, free: 0.7344 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.0009392/0.0009392, allocations: 67.89 kB / 0.7195 GB, free: 14.47 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.491/0.4919, allocations: 102 MB / 0.8191 GB, free: 25.27 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.002624/0.4945, allocations: 1.82 MB / 0.8209 GB, free: 24.03 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001533/0.4961, allocations: 1.21 MB / 0.822 GB, free: 23.21 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.4962, allocations: 0 / 0.822 GB, free: 23.21 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0006198/0.4968, allocations: 175.6 kB / 0.8222 GB, free: 23.16 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0003738/0.4972, allocations: 157.2 kB / 0.8224 GB, free: 23.09 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003511/0.4975, allocations: 141.1 kB / 0.8225 GB, free: 23.02 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002517/0.4978, allocations: 174.8 kB / 0.8227 GB, free: 22.94 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.4979, allocations: 22.83 kB / 0.8227 GB, free: 22.93 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.498, allocations: 85.95 kB / 0.8228 GB, free: 22.89 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.4981, allocations: 77.09 kB / 0.8228 GB, free: 22.86 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.047e-05/0.4981, allocations: 7.75 kB / 0.8228 GB, free: 22.86 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001616/0.4983, allocations: 66.06 kB / 0.8229 GB, free: 22.84 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 7.248e-05/0.4984, allocations: 48.97 kB / 0.823 GB, free: 22.82 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 6.775e-05/0.4984, allocations: 63.98 kB / 0.823 GB, free: 22.77 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0003166/0.4987, allocations: 209.8 kB / 0.8232 GB, free: 22.69 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.4987, allocations: 0 / 0.8232 GB, free: 22.69 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.244e-06/0.4987, allocations: 1.516 kB / 0.8232 GB, free: 22.69 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.4987, allocations: 0.5938 kB / 0.8232 GB, free: 22.69 MB / 0.6355 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.0006226/0.4994, allocations: 435.5 kB / 0.8236 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.4994, allocations: 10.94 kB / 0.8236 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.054e-05/0.4995, allocations: 18.47 kB / 0.8237 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002767/0.4998, allocations: 201.1 kB / 0.8239 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.4998, allocations: 7.094 kB / 0.8239 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.975e-05/0.4998, allocations: 7.188 kB / 0.8239 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001921/0.5, allocations: 97.95 kB / 0.824 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.5, allocations: 0 / 0.824 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.5, allocations: 1.75 kB / 0.824 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.766e-05/0.5, allocations: 3.266 kB / 0.824 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.788e-05/0.5001, allocations: 35.89 kB / 0.824 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004173/0.5005, allocations: 329.1 kB / 0.8243 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001481/0.5007, allocations: 71.67 kB / 0.8244 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.723e-05/0.5007, allocations: 31.08 kB / 0.8244 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/0.5007, allocations: 1.094 kB / 0.8244 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001297/0.5009, allocations: 89.91 kB / 0.8245 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 1.523e-06/0.5009, allocations: 0 / 0.8245 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0002565/0.5011, allocations: 145.5 kB / 0.8246 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/0.5011, allocations: 82.83 kB / 0.8247 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002144/0.5014, allocations: 264 kB / 0.825 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.055e-05/0.5014, allocations: 31.3 kB / 0.825 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.302e-05/0.5014, allocations: 120.9 kB / 0.8251 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.457e-05/0.5014, allocations: 22.66 kB / 0.8251 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.95e-05/0.5015, allocations: 28.58 kB / 0.8252 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.605e-05/0.5015, allocations: 337.5 kB / 0.8255 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.061e-05/0.5016, allocations: 26.84 kB / 0.8255 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.151e-05/0.5016, allocations: 54.84 kB / 0.8256 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.353e-05/0.5017, allocations: 77.42 kB / 0.8256 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.5017, allocations: 0 / 0.8256 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001385/0.5019, allocations: 124.2 kB / 0.8258 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.5019, allocations: 5.25 kB / 0.8258 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.5019, allocations: 0 / 0.8258 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.5019, allocations: 1.984 kB / 0.8258 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.413e-05/0.502, allocations: 11.25 kB / 0.8258 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.311e-06/0.502, allocations: 0.6562 kB / 0.8258 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.938e-05/0.502, allocations: 21.53 kB / 0.8258 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.502, allocations: 2.688 kB / 0.8258 GB, free: 20.62 MB / 0.6355 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 8.648e-05/0.5021, allocations: 144.5 kB / 0.8259 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.705e-05/0.5021, allocations: 21.12 kB / 0.826 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001729/0.5023, allocations: 117.9 kB / 0.8261 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.068e-06/0.5023, allocations: 3.828 kB / 0.8261 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.5023, allocations: 5.969 kB / 0.8261 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.5023, allocations: 7.938 kB / 0.8261 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001507/0.5025, allocations: 197 kB / 0.8263 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.5025, allocations: 0 / 0.8263 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.966e-05/0.5025, allocations: 8.516 kB / 0.8263 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.5025, allocations: 0.6562 kB / 0.8263 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.5025, allocations: 5.953 kB / 0.8263 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.5025, allocations: 1.062 kB / 0.8263 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.5025, allocations: 0 / 0.8263 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001422/0.5026, allocations: 146 kB / 0.8264 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.16e-05/0.5027, allocations: 21.36 kB / 0.8264 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.004e-05/0.5027, allocations: 6.953 kB / 0.8265 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.726e-05/0.5027, allocations: 3.969 kB / 0.8265 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.445e-05/0.5028, allocations: 8.969 kB / 0.8265 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.5028, allocations: 11.14 kB / 0.8265 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001295/0.5029, allocations: 202.9 kB / 0.8267 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.5029, allocations: 0 / 0.8267 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001823/0.5031, allocations: 29.27 kB / 0.8267 GB, free: 19.97 MB / 0.6355 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 (7): * Single equations (assignments): 4 * 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.0007259/0.5038, allocations: 422.6 kB / 0.8271 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001674/0.504, allocations: 73.84 kB / 0.8272 GB, free: 19.78 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.504, allocations: 4.062 kB / 0.8272 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.741e-05/0.504, allocations: 30.66 kB / 0.8272 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002154/0.5042, allocations: 44.19 kB / 0.8272 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004761/0.5047, allocations: 343.6 kB / 0.8276 GB, free: 19.51 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001281/0.5048, allocations: 0.7245 MB / 0.8283 GB, free: 18.81 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.781e-05/0.5049, allocations: 30.39 kB / 0.8283 GB, free: 18.79 MB / 0.6355 GB Notification: Performance of SimCode: time 5.91e-07/0.5049, allocations: 0 / 0.8283 GB, free: 18.79 MB / 0.6355 GB Notification: Performance of Templates: time 0.004379/0.5093, allocations: 2.608 MB / 0.8309 GB, free: 18.49 MB / 0.6355 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.267303686123341] Failed to read output from testmodel.py, exit status != 0: 0.5149004070553929 0.5230944630000001 0.022629884000000003 Calling exit ...