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: "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008021/0.0008021, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.004431/0.004431, allocations: 173.3 kB / 16.26 MB, free: 6.613 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.22/1.22, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6984/0.6984, allocations: 132.3 MB / 423.8 MB, free: 1.992 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002932/0.0002933, allocations: 17.31 kB / 0.5041 GB, free: 3.809 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3544/0.3547, allocations: 81.57 MB / 0.5837 GB, free: 4.043 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.001713/0.3565, allocations: 1.496 MB / 0.5852 GB, free: 2.961 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001234/0.3577, allocations: 0.9846 MB / 0.5862 GB, free: 2.281 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.191e-05/0.3578, allocations: 2.375 kB / 0.5862 GB, free: 2.281 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005385/0.3583, allocations: 153.5 kB / 0.5863 GB, free: 2.242 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002105/0.3585, allocations: 103.5 kB / 0.5864 GB, free: 2.199 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003526/0.3589, allocations: 159.6 kB / 0.5866 GB, free: 2.117 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001983/0.3591, allocations: 167.1 kB / 0.5867 GB, free: 2.051 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.451e-05/0.3592, allocations: 17.69 kB / 0.5867 GB, free: 2.043 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.731e-05/0.3593, allocations: 60.77 kB / 0.5868 GB, free: 2.02 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.3594, allocations: 69.34 kB / 0.5869 GB, free: 1.992 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.3595, allocations: 2.594 kB / 0.5869 GB, free: 1.992 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001161/0.3596, allocations: 48.17 kB / 0.5869 GB, free: 1.98 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.051e-05/0.3596, allocations: 35.72 kB / 0.5869 GB, free: 1.969 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.229e-05/0.3597, allocations: 89.98 kB / 0.587 GB, free: 1.891 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002448/0.36, allocations: 188.4 kB / 0.5872 GB, free: 1.824 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.36, allocations: 0.7031 kB / 0.5872 GB, free: 1.824 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.36, allocations: 0.6875 kB / 0.5872 GB, free: 1.824 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.36, allocations: 0 / 0.5872 GB, free: 1.824 MB / 430.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.0005386/0.3605, allocations: 472.6 kB / 0.5877 GB, free: 1.367 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.3606, allocations: 9.5 kB / 0.5877 GB, free: 1.367 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.465e-05/0.3606, allocations: 38.42 kB / 0.5877 GB, free: 1.324 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.686e-05/0.3607, allocations: 20.16 kB / 0.5877 GB, free: 1.312 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002201/0.3609, allocations: 246.5 kB / 0.588 GB, free: 1.074 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.3609, allocations: 5.75 kB / 0.588 GB, free: 1.07 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/0.3609, allocations: 7.438 kB / 0.588 GB, free: 1.066 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.3611, allocations: 84.05 kB / 0.5881 GB, free: 1.008 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-06/0.3611, allocations: 0 / 0.5881 GB, free: 1.008 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.3611, allocations: 9.547 kB / 0.5881 GB, free: 1 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.746e-05/0.3611, allocations: 2.875 kB / 0.5881 GB, free: 1 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.879e-05/0.3612, allocations: 43.56 kB / 0.5881 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004058/0.3617, allocations: 354.8 kB / 0.5885 GB, free: 0.668 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001767/0.3618, allocations: 75.09 kB / 0.5885 GB, free: 0.625 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.925e-05/0.3619, allocations: 40.36 kB / 0.5886 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.3619, allocations: 1.672 kB / 0.5886 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001373/0.3621, allocations: 83.69 kB / 0.5886 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.422e-06/0.3621, allocations: 0 / 0.5886 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002953/0.3624, allocations: 145 kB / 0.5888 GB, free: 480 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.757e-05/0.3624, allocations: 79.59 kB / 0.5889 GB, free: 384 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002514/0.3627, allocations: 269.2 kB / 0.5891 GB, free: 220 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.3627, allocations: 31.89 kB / 0.5891 GB, free: 184 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.223e-05/0.3628, allocations: 120.1 kB / 0.5893 GB, free: 72 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.199e-05/0.3628, allocations: 17.61 kB / 0.5893 GB, free: 60 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.568e-05/0.3628, allocations: 19.58 kB / 0.5893 GB, free: 40 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.363, allocations: 330 kB / 0.5896 GB, free: 15.72 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.495e-05/0.363, allocations: 25.81 kB / 0.5896 GB, free: 15.71 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.713e-05/0.3631, allocations: 63.19 kB / 0.5897 GB, free: 15.66 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001243/0.3632, allocations: 73.2 kB / 0.5898 GB, free: 15.62 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.3633, allocations: 0.8125 kB / 0.5898 GB, free: 15.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000198/0.3635, allocations: 119.3 kB / 0.5899 GB, free: 15.56 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.3635, allocations: 5.875 kB / 0.5899 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.3635, allocations: 0 / 0.5899 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.3635, allocations: 1.375 kB / 0.5899 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.061e-05/0.3636, allocations: 18.94 kB / 0.5899 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.3636, allocations: 4.938 kB / 0.5899 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.305e-05/0.3637, allocations: 13.38 kB / 0.5899 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.3637, allocations: 4.109 kB / 0.5899 GB, free: 15.54 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 0.000118/0.3638, allocations: 145.3 kB / 0.5901 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.354e-05/0.3638, allocations: 15.34 kB / 0.5901 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.088e-05/0.3639, allocations: 17.39 kB / 0.5901 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/0.3639, allocations: 3.562 kB / 0.5901 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.3639, allocations: 1.188 kB / 0.5901 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.3639, allocations: 8.781 kB / 0.5901 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001921/0.3641, allocations: 227 kB / 0.5903 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3641, allocations: 0 / 0.5903 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.098e-05/0.3641, allocations: 3.953 kB / 0.5903 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3642, allocations: 2 kB / 0.5903 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.868e-06/0.3642, allocations: 1.688 kB / 0.5903 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.3642, allocations: 8.781 kB / 0.5903 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3642, allocations: 3.938 kB / 0.5903 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00022/0.3644, allocations: 149.3 kB / 0.5905 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.623e-05/0.3645, allocations: 95.89 kB / 0.5906 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.467e-05/0.3645, allocations: 2.906 kB / 0.5906 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.41e-05/0.3646, allocations: 9.188 kB / 0.5906 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.862e-05/0.3646, allocations: 7.812 kB / 0.5906 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-06/0.3646, allocations: 3.484 kB / 0.5906 GB, free: 14.94 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001808/0.3648, allocations: 196.1 kB / 0.5908 GB, free: 14.83 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3648, allocations: 3.938 kB / 0.5908 GB, free: 14.82 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002323/0.3651, allocations: 31.53 kB / 0.5908 GB, free: 14.82 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.001272/0.3663, allocations: 0.9911 MB / 0.5918 GB, free: 14.11 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002054/0.3666, allocations: 74.38 kB / 0.5919 GB, free: 14.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.72e-06/0.3666, allocations: 5.062 kB / 0.5919 GB, free: 14.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.383e-05/0.3667, allocations: 36.98 kB / 0.5919 GB, free: 14.07 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002854/0.367, allocations: 43.81 kB / 0.5919 GB, free: 14.06 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002164/0.3691, allocations: 1.976 MB / 0.5939 GB, free: 12.63 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002545/0.3694, allocations: 0.73 MB / 0.5946 GB, free: 11.92 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.137e-05/0.3695, allocations: 27.19 kB / 0.5946 GB, free: 11.91 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.451e-05/0.3696, allocations: 45.56 kB / 0.5947 GB, free: 11.88 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3696, allocations: 0 / 0.5947 GB, free: 11.88 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1649/0.5345, allocations: 3.99 MB / 0.5985 GB, free: 10.96 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002203/0.5347, allocations: 229.1 kB / 0.5988 GB, free: 10.71 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.003/2.538, allocations: 3.938 kB / 0.5988 GB, free: 10.71 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_BooleanReplicator_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_BooleanReplicator.fmu > IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)