Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="IDEAS_dev_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.008433/0.008433, allocations: 99.44 kB / 15.73 MB, free: 6.008 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.002265/0.002265, allocations: 192.3 kB / 16.67 MB, free: 5.926 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.406/1.406, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7945/0.7945, allocations: 135.1 MB / 425.7 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 63.28 kB / 0.5851 GB, free: 21.97 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1404, allocations: 80.92 MB / 0.6642 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.003024/0.1435, allocations: 1.774 MB / 0.6659 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00169/0.1452, allocations: 1.022 MB / 0.6669 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.1453, allocations: 0 / 0.6669 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006099/0.146, allocations: 167.5 kB / 0.6671 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003069/0.1463, allocations: 111.6 kB / 0.6672 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004838/0.1468, allocations: 171 kB / 0.6673 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002266/0.147, allocations: 171.6 kB / 0.6675 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.1472, allocations: 36.78 kB / 0.6675 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001398/0.1473, allocations: 71.75 kB / 0.6676 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.1474, allocations: 67.75 kB / 0.6677 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.1e-05/0.1475, allocations: 4 kB / 0.6677 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001454/0.1476, allocations: 59.91 kB / 0.6677 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.235e-05/0.1477, allocations: 47.83 kB / 0.6678 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.512e-05/0.1478, allocations: 67.61 kB / 0.6678 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002904/0.1481, allocations: 199.5 kB / 0.668 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.1481, allocations: 0 / 0.668 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1481, allocations: 4 kB / 0.668 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.1481, allocations: 0 / 0.668 GB, free: 2.289 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.0007184/0.1488, allocations: 0.4961 MB / 0.6685 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.1489, allocations: 9.109 kB / 0.6685 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.24e-05/0.1489, allocations: 30.75 kB / 0.6685 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.337e-05/0.149, allocations: 20.8 kB / 0.6686 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002862/0.1493, allocations: 245 kB / 0.6688 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/0.1493, allocations: 12.36 kB / 0.6688 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.074e-05/0.1493, allocations: 15.92 kB / 0.6688 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001866/0.1495, allocations: 83.33 kB / 0.6689 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.168e-06/0.1495, allocations: 3.984 kB / 0.6689 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.1495, allocations: 4 kB / 0.6689 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.809e-05/0.1496, allocations: 4 kB / 0.6689 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.557e-05/0.1497, allocations: 27.98 kB / 0.6689 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004949/0.1502, allocations: 360.6 kB / 0.6693 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001973/0.1504, allocations: 66.69 kB / 0.6694 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.384e-05/0.1505, allocations: 32.84 kB / 0.6694 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/0.1505, allocations: 0 / 0.6694 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001645/0.1507, allocations: 87.31 kB / 0.6695 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.583e-06/0.1507, allocations: 4 kB / 0.6695 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0003505/0.151, allocations: 149.4 kB / 0.6696 GB, free: 476 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/0.1511, allocations: 81.09 kB / 0.6697 GB, free: 376 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002669/0.1514, allocations: 270.6 kB / 0.6699 GB, free: 96 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.1514, allocations: 33.7 kB / 0.67 GB, free: 56 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.82e-05/0.1515, allocations: 112.1 kB / 0.6701 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.813e-05/0.1515, allocations: 23.8 kB / 0.6701 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.73e-05/0.1516, allocations: 29.7 kB / 0.6701 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.1517, allocations: 330.8 kB / 0.6705 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.31e-05/0.1518, allocations: 27.98 kB / 0.6705 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.449e-05/0.1518, allocations: 59.52 kB / 0.6705 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000129/0.152, allocations: 73.58 kB / 0.6706 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.152, allocations: 0 / 0.6706 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002193/0.1522, allocations: 125.5 kB / 0.6707 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.1522, allocations: 4 kB / 0.6707 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.1523, allocations: 0 / 0.6707 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.1523, allocations: 0 / 0.6707 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.734e-05/0.1524, allocations: 12 kB / 0.6707 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.1524, allocations: 160 / 0.6707 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.946e-05/0.1524, allocations: 15.92 kB / 0.6708 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.1525, allocations: 4.375 kB / 0.6708 GB, free: 15.21 MB / 0.5137 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.0001401/0.1526, allocations: 147.1 kB / 0.6709 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.382e-05/0.1526, allocations: 15.91 kB / 0.6709 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.828e-05/0.1527, allocations: 21.38 kB / 0.6709 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.157e-05/0.1527, allocations: 7.938 kB / 0.6709 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.1527, allocations: 4 kB / 0.6709 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.1527, allocations: 3.938 kB / 0.671 GB, free: 15 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000201/0.1529, allocations: 229.5 kB / 0.6712 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.153, allocations: 0 / 0.6712 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.577e-05/0.153, allocations: 7.984 kB / 0.6712 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.153, allocations: 0 / 0.6712 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.153, allocations: 11.98 kB / 0.6712 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.153, allocations: 0 / 0.6712 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.153, allocations: 0 / 0.6712 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002424/0.1533, allocations: 144.9 kB / 0.6713 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.904e-05/0.1533, allocations: 93 kB / 0.6714 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.995e-05/0.1534, allocations: 4 kB / 0.6714 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.421e-05/0.1534, allocations: 4 kB / 0.6714 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.136e-05/0.1535, allocations: 15.92 kB / 0.6714 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.348e-06/0.1535, allocations: 0 / 0.6714 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001832/0.1537, allocations: 196.6 kB / 0.6716 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1537, allocations: 0 / 0.6716 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000264/0.154, allocations: 31.92 kB / 0.6717 GB, free: 14.2 MB / 0.5137 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.001521/0.1555, allocations: 0.9966 MB / 0.6726 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002352/0.1557, allocations: 75.89 kB / 0.6727 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1558, allocations: 0 / 0.6727 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.474e-05/0.1559, allocations: 39.98 kB / 0.6727 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003373/0.1562, allocations: 44.25 kB / 0.6728 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002311/0.1585, allocations: 1.965 MB / 0.6747 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002743/0.1588, allocations: 0.724 MB / 0.6754 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.734e-05/0.1589, allocations: 21.72 kB / 0.6754 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.252e-05/0.159, allocations: 47.42 kB / 0.6755 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.159, allocations: 0 / 0.6755 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02117/0.1802, allocations: 4.494 MB / 0.6799 GB, free: 5.914 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.712/7.892, allocations: 22.34 kB / 0.6799 GB, free: 5.895 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator_res.csv --start-time 0 --stop-time 600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.24 IDEAS_dev_IDEAS_Utilities_Math_Examples_BooleanReplicator.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)