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.001317/0.001317, allocations: 103.3 kB / 15.06 MB, free: 1.098 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.001631/0.001631, allocations: 173.3 kB / 15.95 MB, free: 212 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.113/2.113, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.141/1.141, allocations: 132.2 MB / 423.2 MB, free: 2.191 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000512/0.0005122, allocations: 12.91 kB / 0.5033 GB, free: 4.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6554/0.6559, allocations: 81.58 MB / 0.583 GB, free: 4.004 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.002994/0.659, allocations: 1.458 MB / 0.5844 GB, free: 2.953 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002212/0.6612, allocations: 0.9203 MB / 0.5853 GB, free: 2.324 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001304/0.6614, allocations: 0 / 0.5853 GB, free: 2.324 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008231/0.6622, allocations: 145.1 kB / 0.5854 GB, free: 2.285 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003673/0.6626, allocations: 96.8 kB / 0.5855 GB, free: 2.246 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007048/0.6633, allocations: 143.9 kB / 0.5857 GB, free: 2.176 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002789/0.6636, allocations: 101.4 kB / 0.5858 GB, free: 2.129 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.6638, allocations: 17.22 kB / 0.5858 GB, free: 2.121 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001547/0.6639, allocations: 61.98 kB / 0.5858 GB, free: 2.094 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001652/0.6641, allocations: 53.94 kB / 0.5859 GB, free: 2.078 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.513e-05/0.6642, allocations: 6.938 kB / 0.5859 GB, free: 2.074 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001965/0.6644, allocations: 41.3 kB / 0.5859 GB, free: 2.062 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001008/0.6645, allocations: 36.19 kB / 0.586 GB, free: 2.051 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.058e-05/0.6646, allocations: 48.62 kB / 0.586 GB, free: 2.004 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003605/0.6649, allocations: 150.8 kB / 0.5862 GB, free: 1.961 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.665, allocations: 0 / 0.5862 GB, free: 1.961 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.484e-06/0.665, allocations: 0 / 0.5862 GB, free: 1.961 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.665, allocations: 0.9688 kB / 0.5862 GB, free: 1.961 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.000871/0.6659, allocations: 481.3 kB / 0.5866 GB, free: 1.496 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.418e-05/0.6659, allocations: 9.719 kB / 0.5866 GB, free: 1.496 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.979e-05/0.666, allocations: 34.69 kB / 0.5867 GB, free: 1.457 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.737e-05/0.6661, allocations: 22.31 kB / 0.5867 GB, free: 1.441 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003944/0.6665, allocations: 236.9 kB / 0.5869 GB, free: 1.211 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/0.6665, allocations: 7.078 kB / 0.5869 GB, free: 1.207 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.521e-05/0.6665, allocations: 3.094 kB / 0.5869 GB, free: 1.207 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002985/0.6669, allocations: 87.02 kB / 0.587 GB, free: 1.145 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.6669, allocations: 0 / 0.587 GB, free: 1.145 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.966e-05/0.6669, allocations: 5.125 kB / 0.587 GB, free: 1.141 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.145e-05/0.667, allocations: 3.531 kB / 0.587 GB, free: 1.141 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001592/0.6671, allocations: 36.39 kB / 0.587 GB, free: 1.129 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007529/0.6679, allocations: 357.3 kB / 0.5874 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003045/0.6682, allocations: 71.58 kB / 0.5875 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.046e-05/0.6683, allocations: 1.078 kB / 0.5875 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002596/0.6685, allocations: 94.89 kB / 0.5875 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 2.053e-06/0.6686, allocations: 0.75 kB / 0.5875 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006087/0.6692, allocations: 227.6 kB / 0.5878 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.6692, allocations: 83.58 kB / 0.5878 GB, free: 444 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004944/0.6697, allocations: 260.5 kB / 0.5881 GB, free: 288 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.6698, allocations: 31.08 kB / 0.5881 GB, free: 252 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.238e-05/0.6699, allocations: 120.2 kB / 0.5882 GB, free: 140 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.112e-05/0.6699, allocations: 17.42 kB / 0.5882 GB, free: 128 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.868e-06/0.67, allocations: 4.938 kB / 0.5883 GB, free: 124 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001953/0.6702, allocations: 325.4 kB / 0.5886 GB, free: 15.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/0.6703, allocations: 25.8 kB / 0.5886 GB, free: 15.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001693/0.6705, allocations: 59.02 kB / 0.5886 GB, free: 15.75 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001549/0.6707, allocations: 40.39 kB / 0.5887 GB, free: 15.73 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.6707, allocations: 0 / 0.5887 GB, free: 15.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004332/0.6711, allocations: 118.4 kB / 0.5888 GB, free: 15.67 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.844e-05/0.6712, allocations: 5.125 kB / 0.5888 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.6712, allocations: 2 kB / 0.5888 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/0.6712, allocations: 0 / 0.5888 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/0.6714, allocations: 11.17 kB / 0.5888 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.468e-05/0.6714, allocations: 5.359 kB / 0.5888 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001162/0.6715, allocations: 9.922 kB / 0.5888 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.51e-05/0.6716, allocations: 6.75 kB / 0.5888 GB, free: 15.66 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 ($whenCondition1,$PRE.booTab.combiTimeTable.nextTimeEvent,booTab.y,booTab.combiTimeTable.nextTimeEvent,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002334/0.6718, allocations: 141.2 kB / 0.589 GB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.59e-05/0.6719, allocations: 19.5 kB / 0.589 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.011e-05/0.672, allocations: 19.05 kB / 0.589 GB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.865e-05/0.672, allocations: 3.672 kB / 0.589 GB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.672, allocations: 0 / 0.589 GB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.672, allocations: 4.891 kB / 0.589 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004008/0.6724, allocations: 223 kB / 0.5892 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.804e-06/0.6725, allocations: 5.188 kB / 0.5892 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.227e-05/0.6725, allocations: 11.61 kB / 0.5892 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.6725, allocations: 5.312 kB / 0.5892 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.617e-05/0.6726, allocations: 0.7031 kB / 0.5892 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.6726, allocations: 1.375 kB / 0.5892 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.6726, allocations: 0.5625 kB / 0.5893 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000434/0.673, allocations: 140.5 kB / 0.5894 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/0.6732, allocations: 103.7 kB / 0.5895 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.699e-05/0.6732, allocations: 6.688 kB / 0.5895 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.901e-05/0.6734, allocations: 8.859 kB / 0.5895 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.22e-05/0.6734, allocations: 8.953 kB / 0.5895 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.757e-05/0.6735, allocations: 3.812 kB / 0.5895 GB, free: 15.05 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003655/0.6738, allocations: 192.4 kB / 0.5897 GB, free: 14.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.6739, allocations: 0 / 0.5897 GB, free: 14.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004968/0.6744, allocations: 28.5 kB / 0.5897 GB, free: 14.94 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002373/0.6767, allocations: 1.005 MB / 0.5907 GB, free: 14.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003574/0.6771, allocations: 70 kB / 0.5908 GB, free: 14.21 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/0.6771, allocations: 3.938 kB / 0.5908 GB, free: 14.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001443/0.6773, allocations: 37.41 kB / 0.5908 GB, free: 14.19 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004285/0.6777, allocations: 40.25 kB / 0.5908 GB, free: 14.18 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002978/0.6807, allocations: 1.103 MB / 0.5919 GB, free: 13.47 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004954/0.6813, allocations: 0.7293 MB / 0.5926 GB, free: 12.77 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001622/0.6814, allocations: 27.53 kB / 0.5927 GB, free: 12.76 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/0.6816, allocations: 45.31 kB / 0.5927 GB, free: 12.73 MB / 446.1 MB Notification: Performance of SimCode: time 9.32e-07/0.6816, allocations: 0 / 0.5927 GB, free: 12.73 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02601/0.7076, allocations: 3.95 MB / 0.5966 GB, free: 11.94 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003351/0.708, allocations: 206.2 kB / 0.5968 GB, free: 11.7 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.836/3.544, allocations: 3.125 kB / 0.5968 GB, free: 11.7 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/linux/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) Environment - environmentSimulation: