Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Examples.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001607/0.001607, allocations: 109.8 kB / 18.84 MB, free: 3.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002417/0.002417, allocations: 185.5 kB / 22.1 MB, free: 4.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.85/1.85, allocations: 207.6 MB / 232.8 MB, free: 10.02 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3071/0.3071, allocations: 55.68 MB / 340.7 MB, free: 13.97 MB / 286.1 MB " [Timeout remaining time 179] Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Annex60.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.BooleanReplicator") translateModel(Annex60.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.BooleanReplicator") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002516/0.002516, allocations: 79.86 kB / 482 MB, free: 6.723 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4169/0.4194, allocations: 62.87 MB / 0.5321 GB, free: 7.977 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.BooleanReplicator): time 0.002904/0.4223, allocations: 1.782 MB / 0.5339 GB, free: 6.746 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001377/0.4237, allocations: 0.9636 MB / 0.5348 GB, free: 6.094 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.976e-05/0.4238, allocations: 1 kB / 0.5348 GB, free: 6.094 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007162/0.4245, allocations: 162.7 kB / 0.535 GB, free: 6.047 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0003383/0.4248, allocations: 111.2 kB / 0.5351 GB, free: 6 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004838/0.4253, allocations: 153.5 kB / 0.5352 GB, free: 5.918 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002568/0.4256, allocations: 161.2 kB / 0.5354 GB, free: 5.848 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.4257, allocations: 25.64 kB / 0.5354 GB, free: 5.836 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.4258, allocations: 68.47 kB / 0.5355 GB, free: 5.809 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.4259, allocations: 80.34 kB / 0.5355 GB, free: 5.777 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.625e-05/0.4259, allocations: 8.219 kB / 0.5356 GB, free: 5.777 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00016/0.4261, allocations: 67.31 kB / 0.5356 GB, free: 5.758 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.323e-05/0.4262, allocations: 47.8 kB / 0.5357 GB, free: 5.734 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.689e-05/0.4262, allocations: 58.88 kB / 0.5357 GB, free: 5.691 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003137/0.4265, allocations: 200.1 kB / 0.5359 GB, free: 5.613 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.4266, allocations: 0 / 0.5359 GB, free: 5.613 MB / 398.1 MB Notification: Performance of FrontEnd: time 8.71e-07/0.4266, allocations: 0.8438 kB / 0.5359 GB, free: 5.613 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.4266, allocations: 0 / 0.5359 GB, free: 5.613 MB / 398.1 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.0006655/0.4272, allocations: 420.7 kB / 0.5363 GB, free: 5.234 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.4273, allocations: 9.375 kB / 0.5363 GB, free: 5.234 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.745e-05/0.4273, allocations: 21.95 kB / 0.5363 GB, free: 5.223 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002897/0.4276, allocations: 195 kB / 0.5365 GB, free: 5.043 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.4276, allocations: 2.656 kB / 0.5365 GB, free: 5.043 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.804e-05/0.4277, allocations: 7 kB / 0.5365 GB, free: 5.039 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002072/0.4279, allocations: 84.67 kB / 0.5366 GB, free: 4.98 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.4279, allocations: 0 / 0.5366 GB, free: 4.98 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.46e-05/0.4279, allocations: 1.062 kB / 0.5366 GB, free: 4.98 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.043e-05/0.4279, allocations: 2.828 kB / 0.5366 GB, free: 4.98 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.428, allocations: 39.95 kB / 0.5367 GB, free: 4.965 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000524/0.4286, allocations: 331.8 kB / 0.537 GB, free: 4.68 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001984/0.4287, allocations: 71.86 kB / 0.537 GB, free: 4.637 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.161e-05/0.4288, allocations: 30.14 kB / 0.5371 GB, free: 4.621 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.597e-05/0.4288, allocations: 2 kB / 0.5371 GB, free: 4.621 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001691/0.429, allocations: 84.39 kB / 0.5372 GB, free: 4.559 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/0.429, allocations: 0 / 0.5372 GB, free: 4.559 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003734/0.4294, allocations: 145.1 kB / 0.5373 GB, free: 4.488 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.981e-05/0.4294, allocations: 82.75 kB / 0.5374 GB, free: 4.391 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002872/0.4297, allocations: 262.5 kB / 0.5376 GB, free: 4.242 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.4297, allocations: 26.95 kB / 0.5376 GB, free: 4.211 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.63e-05/0.4298, allocations: 116.5 kB / 0.5378 GB, free: 4.105 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.249e-05/0.4298, allocations: 29.44 kB / 0.5378 GB, free: 4.082 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.73e-05/0.4299, allocations: 29.67 kB / 0.5378 GB, free: 4.059 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 7.199e-05/0.4299, allocations: 330.3 kB / 0.5381 GB, free: 3.738 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.785e-05/0.43, allocations: 25.73 kB / 0.5382 GB, free: 3.73 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.025e-05/0.4301, allocations: 59 kB / 0.5382 GB, free: 3.688 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001301/0.4302, allocations: 73.17 kB / 0.5383 GB, free: 3.648 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.4302, allocations: 3.938 kB / 0.5383 GB, free: 3.645 MB / 398.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002045/0.4304, allocations: 119.4 kB / 0.5384 GB, free: 3.578 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.4305, allocations: 6.109 kB / 0.5384 GB, free: 3.578 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.4305, allocations: 0 / 0.5384 GB, free: 3.578 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.4305, allocations: 1.375 kB / 0.5384 GB, free: 3.578 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.712e-05/0.4306, allocations: 23.86 kB / 0.5384 GB, free: 3.566 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.884e-06/0.4306, allocations: 1.188 kB / 0.5384 GB, free: 3.566 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.983e-05/0.4306, allocations: 12.52 kB / 0.5384 GB, free: 3.559 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-06/0.4306, allocations: 6 kB / 0.5384 GB, free: 3.555 MB / 398.1 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.0001218/0.4308, allocations: 144.7 kB / 0.5386 GB, free: 3.426 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.941e-05/0.4308, allocations: 16.19 kB / 0.5386 GB, free: 3.418 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.709e-05/0.4308, allocations: 17.25 kB / 0.5386 GB, free: 3.406 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.341e-05/0.4309, allocations: 8.156 kB / 0.5386 GB, free: 3.402 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.4309, allocations: 0 / 0.5386 GB, free: 3.402 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.4309, allocations: 1.719 kB / 0.5386 GB, free: 3.402 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001877/0.4311, allocations: 194.1 kB / 0.5388 GB, free: 3.223 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.4311, allocations: 4.516 kB / 0.5388 GB, free: 3.219 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.19e-05/0.4311, allocations: 4.469 kB / 0.5388 GB, free: 3.219 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.4311, allocations: 1.344 kB / 0.5388 GB, free: 3.219 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.4311, allocations: 0.6562 kB / 0.5388 GB, free: 3.219 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.4311, allocations: 5.609 kB / 0.5388 GB, free: 3.215 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.4311, allocations: 3.938 kB / 0.5388 GB, free: 3.211 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002388/0.4313, allocations: 141.4 kB / 0.539 GB, free: 3.117 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.988e-05/0.4314, allocations: 22.19 kB / 0.539 GB, free: 3.102 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3e-05/0.4314, allocations: 5.75 kB / 0.539 GB, free: 3.098 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.379e-05/0.4315, allocations: 8.188 kB / 0.539 GB, free: 3.094 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.31e-05/0.4315, allocations: 5.297 kB / 0.539 GB, free: 3.094 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.4315, allocations: 2.812 kB / 0.539 GB, free: 3.094 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002357/0.4317, allocations: 199.3 kB / 0.5392 GB, free: 2.98 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4317, allocations: 1.125 kB / 0.5392 GB, free: 2.98 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002562/0.432, allocations: 35.69 kB / 0.5392 GB, free: 2.969 MB / 398.1 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.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent) * 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.00147/0.4335, allocations: 423 kB / 0.5396 GB, free: 2.801 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002324/0.4337, allocations: 67.89 kB / 0.5397 GB, free: 2.781 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.4337, allocations: 1.625 kB / 0.5397 GB, free: 2.781 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.135e-05/0.4338, allocations: 31.09 kB / 0.5397 GB, free: 2.773 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003052/0.4341, allocations: 44.19 kB / 0.5398 GB, free: 2.758 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005345/0.4346, allocations: 306.9 kB / 0.5401 GB, free: 2.551 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000173/0.4348, allocations: 0.7255 MB / 0.5408 GB, free: 1.848 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.498e-05/0.4349, allocations: 26.09 kB / 0.5408 GB, free: 1.84 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.332e-05/0.4349, allocations: 19.23 kB / 0.5408 GB, free: 1.832 MB / 398.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4349, allocations: 0 / 0.5408 GB, free: 1.832 MB / 398.1 MB Notification: Performance of Templates: time 0.007122/0.442, allocations: 2.344 MB / 0.5431 GB, free: 1.57 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.BooleanReplicator.makefile [Timeout 660] (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Examples.BooleanReplicator.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.821988696232438] Failed to read output from testmodel.py, exit status != 0: 0.45064999535679817 0.46522051000000003 0.035461088 Calling exit ...