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.007194/0.007194, allocations: 100.8 kB / 15.73 MB, free: 6.047 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.001444/0.001444, allocations: 197.1 kB / 16.68 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7876/0.7876, allocations: 132.2 MB / 422.7 MB, free: 1.711 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 67.36 kB / 0.5814 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1954/0.1967, allocations: 80.2 MB / 0.6597 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.004956/0.2017, allocations: 1.784 MB / 0.6614 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002343/0.2041, allocations: 1.026 MB / 0.6624 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001489/0.2043, allocations: 7.938 kB / 0.6624 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007209/0.205, allocations: 161.5 kB / 0.6626 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004559/0.2055, allocations: 115.6 kB / 0.6627 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006366/0.2062, allocations: 165.5 kB / 0.6629 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003449/0.2065, allocations: 171.6 kB / 0.663 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001512/0.2067, allocations: 21.12 kB / 0.663 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003198/0.207, allocations: 75.67 kB / 0.6631 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001838/0.2072, allocations: 67.75 kB / 0.6632 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.315e-05/0.2073, allocations: 8 kB / 0.6632 GB, free: 9.914 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002588/0.2075, allocations: 63.91 kB / 0.6632 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001335/0.2077, allocations: 47.83 kB / 0.6633 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001148/0.2078, allocations: 59.61 kB / 0.6633 GB, free: 9.746 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000503/0.2083, allocations: 199.3 kB / 0.6635 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.2083, allocations: 0 / 0.6635 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.695e-06/0.2083, allocations: 0 / 0.6635 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.192e-05/0.2083, allocations: 0 / 0.6635 GB, free: 9.551 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.00109/0.2094, allocations: 496.3 kB / 0.664 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.2095, allocations: 8.031 kB / 0.664 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.476e-05/0.2096, allocations: 16.75 kB / 0.664 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004307/0.21, allocations: 249.5 kB / 0.6643 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.139e-05/0.2101, allocations: 16.23 kB / 0.6643 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.913e-05/0.2101, allocations: 8.125 kB / 0.6643 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002306/0.2103, allocations: 83.38 kB / 0.6644 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.2103, allocations: 4 kB / 0.6644 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/0.2104, allocations: 0 / 0.6644 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.385e-05/0.2104, allocations: 7.984 kB / 0.6644 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.2105, allocations: 31.98 kB / 0.6644 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006351/0.2112, allocations: 360.6 kB / 0.6648 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002152/0.2114, allocations: 70.67 kB / 0.6648 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.738e-05/0.2115, allocations: 36.78 kB / 0.6649 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.916e-05/0.2115, allocations: 0 / 0.6649 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002213/0.2117, allocations: 87.38 kB / 0.6649 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.874e-06/0.2118, allocations: 0 / 0.6649 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0004036/0.2122, allocations: 153.3 kB / 0.6651 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.321e-05/0.2122, allocations: 81.09 kB / 0.6652 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003111/0.2126, allocations: 258.8 kB / 0.6654 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.2126, allocations: 33.7 kB / 0.6654 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.104e-05/0.2127, allocations: 116 kB / 0.6656 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.228e-05/0.2127, allocations: 23.75 kB / 0.6656 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.784e-05/0.2128, allocations: 29.7 kB / 0.6656 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.2129, allocations: 334.8 kB / 0.6659 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.007e-05/0.213, allocations: 28 kB / 0.666 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.731e-05/0.2131, allocations: 55.41 kB / 0.666 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001336/0.2133, allocations: 77.67 kB / 0.6661 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.2133, allocations: 0 / 0.6661 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002175/0.2135, allocations: 125.4 kB / 0.6662 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.2135, allocations: 4 kB / 0.6662 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.2135, allocations: 0 / 0.6662 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.2135, allocations: 0 / 0.6662 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.713e-05/0.2136, allocations: 15.98 kB / 0.6662 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.2136, allocations: 0 / 0.6662 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.541e-05/0.2137, allocations: 11.94 kB / 0.6662 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.2137, allocations: 7.969 kB / 0.6662 GB, free: 6.512 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.0001406/0.2139, allocations: 149.7 kB / 0.6664 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.09e-05/0.2139, allocations: 15.81 kB / 0.6664 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.12e-05/0.214, allocations: 17.77 kB / 0.6664 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/0.214, allocations: 4 kB / 0.6664 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.214, allocations: 0 / 0.6664 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.214, allocations: 3.938 kB / 0.6664 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002165/0.2142, allocations: 225.5 kB / 0.6666 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.2142, allocations: 4 kB / 0.6666 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.49e-05/0.2143, allocations: 3.984 kB / 0.6666 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.2143, allocations: 4 kB / 0.6666 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.2143, allocations: 4 kB / 0.6666 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.2143, allocations: 0 / 0.6666 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.2143, allocations: 0 / 0.6666 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002378/0.2146, allocations: 148.7 kB / 0.6668 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.489e-05/0.2146, allocations: 89 kB / 0.6669 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.939e-05/0.2147, allocations: 8 kB / 0.6669 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.809e-05/0.2147, allocations: 4 kB / 0.6669 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.419e-05/0.2148, allocations: 3.984 kB / 0.6669 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/0.2148, allocations: 11.94 kB / 0.6669 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001912/0.215, allocations: 192.6 kB / 0.6671 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.215, allocations: 0 / 0.6671 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002635/0.2153, allocations: 31.89 kB / 0.6671 GB, free: 5.512 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.001294/0.2166, allocations: 429.8 kB / 0.6675 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002413/0.2168, allocations: 79.91 kB / 0.6676 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2168, allocations: 0 / 0.6676 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.202e-05/0.2169, allocations: 35.92 kB / 0.6676 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003123/0.2173, allocations: 46.12 kB / 0.6677 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005417/0.2178, allocations: 291 kB / 0.668 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002848/0.2181, allocations: 0.728 MB / 0.6687 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.775e-05/0.2182, allocations: 25.72 kB / 0.6687 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.985e-05/0.2182, allocations: 15.44 kB / 0.6687 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.2182, allocations: 0 / 0.6687 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of Templates: time 0.00614/0.2244, allocations: 2.284 MB / 0.6709 GB, free: 1.766 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)