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.001101/0.001101, allocations: 103.7 kB / 15.98 MB, free: 6.348 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.001161/0.001161, allocations: 198.9 kB / 16.91 MB, free: 6.188 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.247/1.247, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7463/0.7463, allocations: 132.2 MB / 422.9 MB, free: 6.816 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001118/0.001118, allocations: 59.89 kB / 0.5019 GB, free: 12.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.3423, allocations: 80.19 MB / 0.5802 GB, free: 26.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.002702/0.345, allocations: 1.843 MB / 0.582 GB, free: 25.37 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001205/0.3462, allocations: 1.004 MB / 0.583 GB, free: 24.59 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.807e-05/0.3463, allocations: 1.312 kB / 0.583 GB, free: 24.59 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005575/0.3469, allocations: 157.3 kB / 0.5831 GB, free: 24.51 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002265/0.3471, allocations: 105.7 kB / 0.5832 GB, free: 24.45 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003543/0.3475, allocations: 157.5 kB / 0.5834 GB, free: 24.35 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000174/0.3477, allocations: 170.4 kB / 0.5836 GB, free: 24.25 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.568e-05/0.3478, allocations: 26.45 kB / 0.5836 GB, free: 24.23 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.78e-05/0.3479, allocations: 67.92 kB / 0.5836 GB, free: 24.2 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.856e-05/0.348, allocations: 75 kB / 0.5837 GB, free: 24.15 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.003e-05/0.348, allocations: 8.062 kB / 0.5837 GB, free: 24.15 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.3481, allocations: 55.36 kB / 0.5838 GB, free: 24.13 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.735e-05/0.3482, allocations: 44.31 kB / 0.5838 GB, free: 24.11 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.373e-05/0.3482, allocations: 61.17 kB / 0.5839 GB, free: 24.06 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001641/0.3484, allocations: 156.6 kB / 0.584 GB, free: 23.96 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.3484, allocations: 0 / 0.584 GB, free: 23.96 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3484, allocations: 1.594 kB / 0.584 GB, free: 23.96 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.237e-06/0.3484, allocations: 0 / 0.584 GB, free: 23.96 MB / 446.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.0005499/0.349, allocations: 0.4914 MB / 0.5845 GB, free: 23.46 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.349, allocations: 9.406 kB / 0.5845 GB, free: 23.46 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.225e-05/0.3491, allocations: 23.47 kB / 0.5845 GB, free: 23.45 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002157/0.3493, allocations: 240.1 kB / 0.5848 GB, free: 23.2 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.3493, allocations: 6.75 kB / 0.5848 GB, free: 23.2 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.329e-05/0.3493, allocations: 6.781 kB / 0.5848 GB, free: 23.19 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001677/0.3495, allocations: 90.8 kB / 0.5849 GB, free: 23.12 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.3495, allocations: 0 / 0.5849 GB, free: 23.12 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.3495, allocations: 7.906 kB / 0.5849 GB, free: 23.11 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.639e-05/0.3496, allocations: 2.688 kB / 0.5849 GB, free: 23.11 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.853e-05/0.3497, allocations: 39.08 kB / 0.5849 GB, free: 23.09 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000383/0.3501, allocations: 359.2 kB / 0.5853 GB, free: 22.74 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001679/0.3502, allocations: 77.02 kB / 0.5853 GB, free: 22.69 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.042e-05/0.3503, allocations: 37.09 kB / 0.5854 GB, free: 22.66 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.635e-05/0.3503, allocations: 2.688 kB / 0.5854 GB, free: 22.66 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000145/0.3505, allocations: 78.91 kB / 0.5854 GB, free: 22.6 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.493e-06/0.3505, allocations: 0 / 0.5854 GB, free: 22.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002968/0.3508, allocations: 144.7 kB / 0.5856 GB, free: 22.52 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.627e-05/0.3508, allocations: 79.58 kB / 0.5857 GB, free: 22.42 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002097/0.351, allocations: 261.7 kB / 0.5859 GB, free: 22.25 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.3511, allocations: 26.89 kB / 0.5859 GB, free: 22.21 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.775e-05/0.3511, allocations: 119.4 kB / 0.586 GB, free: 22.1 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.011e-05/0.3511, allocations: 20.02 kB / 0.5861 GB, free: 22.09 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.828e-05/0.3512, allocations: 28.62 kB / 0.5861 GB, free: 22.06 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.978e-05/0.3512, allocations: 335.7 kB / 0.5864 GB, free: 21.73 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.058e-05/0.3513, allocations: 32.42 kB / 0.5864 GB, free: 21.71 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.978e-05/0.3514, allocations: 62.11 kB / 0.5865 GB, free: 21.66 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001028/0.3515, allocations: 76.66 kB / 0.5866 GB, free: 21.62 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.3515, allocations: 384 / 0.5866 GB, free: 21.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001562/0.3517, allocations: 114.5 kB / 0.5867 GB, free: 21.55 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.3517, allocations: 7.156 kB / 0.5867 GB, free: 21.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.84e-06/0.3517, allocations: 0 / 0.5867 GB, free: 21.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.3517, allocations: 3.469 kB / 0.5867 GB, free: 21.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.752e-05/0.3518, allocations: 21.39 kB / 0.5867 GB, free: 21.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.3518, allocations: 0 / 0.5867 GB, free: 21.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.432e-05/0.3518, allocations: 15.09 kB / 0.5867 GB, free: 21.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.303e-06/0.3519, allocations: 1.438 kB / 0.5867 GB, free: 21.53 MB / 446.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 9.081e-05/0.352, allocations: 144.8 kB / 0.5869 GB, free: 21.39 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.479e-05/0.352, allocations: 19.67 kB / 0.5869 GB, free: 21.38 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.799e-05/0.352, allocations: 16.56 kB / 0.5869 GB, free: 21.37 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.849e-06/0.352, allocations: 3.375 kB / 0.5869 GB, free: 21.37 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.352, allocations: 0 / 0.5869 GB, free: 21.37 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.3521, allocations: 7.922 kB / 0.5869 GB, free: 21.36 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/0.3522, allocations: 224.9 kB / 0.5871 GB, free: 21.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.3522, allocations: 0 / 0.5871 GB, free: 21.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.925e-05/0.3522, allocations: 3.906 kB / 0.5871 GB, free: 21.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3522, allocations: 1.156 kB / 0.5871 GB, free: 21.12 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.3522, allocations: 2.219 kB / 0.5871 GB, free: 21.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3523, allocations: 0 / 0.5871 GB, free: 21.12 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.3523, allocations: 1.125 kB / 0.5871 GB, free: 21.12 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001919/0.3525, allocations: 149 kB / 0.5873 GB, free: 21.02 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.283e-05/0.3525, allocations: 97.14 kB / 0.5874 GB, free: 20.91 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.627e-05/0.3525, allocations: 1.406 kB / 0.5874 GB, free: 20.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.821e-05/0.3526, allocations: 6.766 kB / 0.5874 GB, free: 20.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.028e-05/0.3526, allocations: 5.344 kB / 0.5874 GB, free: 20.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.3526, allocations: 11.03 kB / 0.5874 GB, free: 20.89 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001402/0.3528, allocations: 201.8 kB / 0.5876 GB, free: 20.76 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3528, allocations: 0 / 0.5876 GB, free: 20.76 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002273/0.353, allocations: 26.56 kB / 0.5876 GB, free: 20.76 MB / 446.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.0008453/0.3539, allocations: 426.8 kB / 0.588 GB, free: 20.59 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00019/0.3541, allocations: 78.91 kB / 0.5881 GB, free: 20.56 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3541, allocations: 1.438 kB / 0.5881 GB, free: 20.56 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.252e-05/0.3542, allocations: 33.95 kB / 0.5881 GB, free: 20.55 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002757/0.3544, allocations: 41.39 kB / 0.5882 GB, free: 20.53 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000436/0.3549, allocations: 363.5 kB / 0.5885 GB, free: 20.25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001322/0.355, allocations: 0.7307 MB / 0.5892 GB, free: 19.53 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.016e-05/0.3551, allocations: 20.88 kB / 0.5893 GB, free: 19.52 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3551, allocations: 0 / 0.5893 GB, free: 19.52 MB / 446.1 MB Notification: Performance of Templates: time 0.003798/0.3589, allocations: 2.557 MB / 0.5917 GB, free: 18.25 MB / 446.1 MB 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)