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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator") translateModel(IDEAS.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009195/0.009195, allocations: 100.9 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001838/0.001838, allocations: 190 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8154/0.8154, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002086/0.002086, allocations: 63.89 kB / 0.5814 GB, free: 7.543 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4876/0.4897, allocations: 80.2 MB / 0.6597 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.003092/0.4928, allocations: 1.775 MB / 0.6614 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001503/0.4944, allocations: 1.02 MB / 0.6624 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.156e-05/0.4945, allocations: 1.25 kB / 0.6624 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006412/0.4951, allocations: 167.8 kB / 0.6626 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002863/0.4954, allocations: 115.5 kB / 0.6627 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004519/0.4959, allocations: 173.2 kB / 0.6629 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002367/0.4961, allocations: 169 kB / 0.663 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.4962, allocations: 22.7 kB / 0.663 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001058/0.4964, allocations: 68.94 kB / 0.6631 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001031/0.4965, allocations: 73.59 kB / 0.6632 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.43e-05/0.4965, allocations: 7.469 kB / 0.6632 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001506/0.4967, allocations: 67.8 kB / 0.6632 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.517e-05/0.4967, allocations: 43.94 kB / 0.6633 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.365e-05/0.4968, allocations: 64.22 kB / 0.6633 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002611/0.4971, allocations: 193.3 kB / 0.6635 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.4971, allocations: 0 / 0.6635 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.393e-06/0.4971, allocations: 0 / 0.6635 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.912e-06/0.4971, allocations: 1.375 kB / 0.6635 GB, free: 7.992 MB / 0.4981 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.0006332/0.4978, allocations: 499.3 kB / 0.664 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.4978, allocations: 8.438 kB / 0.664 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.851e-05/0.4979, allocations: 28.31 kB / 0.664 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002512/0.4981, allocations: 240.9 kB / 0.6643 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.4982, allocations: 10.95 kB / 0.6643 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.762e-05/0.4982, allocations: 6.875 kB / 0.6643 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.4984, allocations: 79.77 kB / 0.6644 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.435e-06/0.4984, allocations: 1.062 kB / 0.6644 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.4984, allocations: 7.984 kB / 0.6644 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.832e-05/0.4984, allocations: 3.688 kB / 0.6644 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.295e-05/0.4985, allocations: 39.05 kB / 0.6644 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004504/0.499, allocations: 355 kB / 0.6648 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001861/0.4992, allocations: 74.11 kB / 0.6648 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.754e-05/0.4993, allocations: 37.38 kB / 0.6649 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.4993, allocations: 5.062 kB / 0.6649 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000156/0.4994, allocations: 84.66 kB / 0.6649 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.473e-06/0.4995, allocations: 1.312 kB / 0.6649 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0003394/0.4998, allocations: 139.4 kB / 0.6651 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.451e-05/0.4998, allocations: 79.17 kB / 0.6652 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002406/0.5001, allocations: 267.6 kB / 0.6654 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.5001, allocations: 27.08 kB / 0.6654 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.787e-05/0.5002, allocations: 124.4 kB / 0.6656 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.551e-05/0.5002, allocations: 23.98 kB / 0.6656 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.252e-05/0.5003, allocations: 27.08 kB / 0.6656 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.298e-05/0.5003, allocations: 331.9 kB / 0.6659 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.739e-05/0.5004, allocations: 27.59 kB / 0.6659 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.533e-05/0.5005, allocations: 68.81 kB / 0.666 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.5006, allocations: 71.8 kB / 0.6661 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.5006, allocations: 0 / 0.6661 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001999/0.5008, allocations: 111 kB / 0.6662 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.5008, allocations: 5.688 kB / 0.6662 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.5009, allocations: 1.438 kB / 0.6662 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.5009, allocations: 1.25 kB / 0.6662 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.941e-05/0.501, allocations: 16.94 kB / 0.6662 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.501, allocations: 5.125 kB / 0.6662 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.015e-05/0.501, allocations: 19.73 kB / 0.6662 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.501, allocations: 2.688 kB / 0.6662 GB, free: 5.535 MB / 0.4981 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 0.0001076/0.5012, allocations: 146.7 kB / 0.6664 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.811e-05/0.5012, allocations: 15 kB / 0.6664 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.263e-05/0.5012, allocations: 20.11 kB / 0.6664 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/0.5013, allocations: 2.469 kB / 0.6664 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.5013, allocations: 1.25 kB / 0.6664 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.5013, allocations: 3.938 kB / 0.6664 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001547/0.5014, allocations: 231.2 kB / 0.6666 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.5014, allocations: 4 kB / 0.6666 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.165e-05/0.5015, allocations: 4.219 kB / 0.6666 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.5015, allocations: 0 / 0.6666 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.5015, allocations: 1.531 kB / 0.6666 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.5015, allocations: 7.969 kB / 0.6667 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.5015, allocations: 3.938 kB / 0.6667 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002095/0.5017, allocations: 139.7 kB / 0.6668 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.898e-05/0.5018, allocations: 104.8 kB / 0.6669 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.858e-05/0.5018, allocations: 1.25 kB / 0.6669 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.126e-05/0.5019, allocations: 2.531 kB / 0.6669 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.696e-05/0.5019, allocations: 6.734 kB / 0.6669 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/0.5019, allocations: 6.531 kB / 0.6669 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001641/0.5021, allocations: 197.9 kB / 0.6671 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5021, allocations: 3.938 kB / 0.6671 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002481/0.5023, allocations: 27.47 kB / 0.6671 GB, free: 4.746 MB / 0.4981 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.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.0009847/0.5033, allocations: 424.2 kB / 0.6675 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002312/0.5036, allocations: 74.72 kB / 0.6676 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5036, allocations: 0 / 0.6676 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.937e-05/0.5037, allocations: 34.67 kB / 0.6676 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000305/0.504, allocations: 36.73 kB / 0.6677 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005255/0.5045, allocations: 299.6 kB / 0.668 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001727/0.5047, allocations: 0.7232 MB / 0.6687 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.21e-05/0.5048, allocations: 22.19 kB / 0.6687 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.281e-05/0.5049, allocations: 21 kB / 0.6687 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.5049, allocations: 0 / 0.6687 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of Templates: time 0.005966/0.5108, allocations: 2.298 MB / 0.6709 GB, free: 2.414 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.makefile (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=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)