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.008676/0.008676, allocations: 98.52 kB / 15.73 MB, free: 5.602 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.001906/0.001906, allocations: 195.2 kB / 16.67 MB, free: 5.523 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.373/1.373, allocations: 222.9 MB / 240.4 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8581/0.8581, allocations: 135.6 MB / 426.1 MB, free: 3.625 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 68.97 kB / 0.5857 GB, free: 21.33 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1371, allocations: 81.03 MB / 0.6649 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.003013/0.1402, allocations: 1.779 MB / 0.6666 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001617/0.1418, allocations: 1.018 MB / 0.6676 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.524e-05/0.1419, allocations: 3.938 kB / 0.6676 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005637/0.1425, allocations: 166.7 kB / 0.6678 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002743/0.1428, allocations: 107.6 kB / 0.6679 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000459/0.1432, allocations: 174.8 kB / 0.668 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002282/0.1435, allocations: 163.6 kB / 0.6682 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.1436, allocations: 28.84 kB / 0.6682 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.1437, allocations: 67.7 kB / 0.6683 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.1438, allocations: 71.69 kB / 0.6684 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.637e-05/0.1439, allocations: 8 kB / 0.6684 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001489/0.144, allocations: 67.89 kB / 0.6684 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.335e-05/0.1441, allocations: 47.84 kB / 0.6685 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.1e-05/0.1442, allocations: 59.61 kB / 0.6685 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002958/0.1445, allocations: 199.5 kB / 0.6687 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.1445, allocations: 7.938 kB / 0.6687 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1445, allocations: 4 kB / 0.6687 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.247e-06/0.1445, allocations: 0 / 0.6687 GB, free: 1.633 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.0007206/0.1452, allocations: 496.1 kB / 0.6692 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.1453, allocations: 13.11 kB / 0.6692 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.678e-05/0.1453, allocations: 30.75 kB / 0.6692 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.631e-05/0.1454, allocations: 24.8 kB / 0.6693 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003144/0.1457, allocations: 253 kB / 0.6695 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.1457, allocations: 4.375 kB / 0.6695 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.785e-05/0.1458, allocations: 11.88 kB / 0.6695 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001896/0.146, allocations: 83.38 kB / 0.6696 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.146, allocations: 4 kB / 0.6696 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/0.146, allocations: 0 / 0.6696 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.551e-05/0.146, allocations: 0 / 0.6696 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001/0.1461, allocations: 39.98 kB / 0.6696 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000497/0.1466, allocations: 356.6 kB / 0.67 GB, free: 184 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001926/0.1468, allocations: 74.66 kB / 0.6701 GB, free: 100 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.653e-05/0.1469, allocations: 28.86 kB / 0.6701 GB, free: 68 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.371e-05/0.1469, allocations: 7.984 kB / 0.6701 GB, free: 60 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001864/0.1471, allocations: 91.31 kB / 0.6702 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=10): time 1.744e-06/0.1471, allocations: 0 / 0.6702 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10): time 0.0003378/0.1475, allocations: 141.8 kB / 0.6703 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.668e-05/0.1475, allocations: 81.11 kB / 0.6704 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002795/0.1478, allocations: 270.6 kB / 0.6706 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.1479, allocations: 37.64 kB / 0.6707 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.551e-05/0.148, allocations: 120 kB / 0.6708 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.974e-05/0.148, allocations: 23.8 kB / 0.6708 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.983e-05/0.148, allocations: 29.7 kB / 0.6708 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.1482, allocations: 326.8 kB / 0.6712 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.975e-05/0.1483, allocations: 27.98 kB / 0.6712 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.547e-05/0.1484, allocations: 55.41 kB / 0.6712 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001341/0.1485, allocations: 77.67 kB / 0.6713 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.1485, allocations: 112 / 0.6713 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002144/0.1487, allocations: 125.4 kB / 0.6714 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.1488, allocations: 8 kB / 0.6714 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1488, allocations: 0 / 0.6714 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.1488, allocations: 0 / 0.6714 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.281e-05/0.1489, allocations: 12 kB / 0.6715 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.014e-06/0.1489, allocations: 3.984 kB / 0.6715 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.145e-05/0.1489, allocations: 15.97 kB / 0.6715 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/0.149, allocations: 0 / 0.6715 GB, free: 14.55 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.0001362/0.1491, allocations: 143.1 kB / 0.6716 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.228e-05/0.1491, allocations: 19.91 kB / 0.6716 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.063e-05/0.1492, allocations: 17.39 kB / 0.6716 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/0.1492, allocations: 4 kB / 0.6716 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1492, allocations: 0 / 0.6716 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.1492, allocations: 3.938 kB / 0.6717 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002149/0.1495, allocations: 225.5 kB / 0.6719 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1495, allocations: 4 kB / 0.6719 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.05e-05/0.1495, allocations: 96 / 0.6719 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.1495, allocations: 7.938 kB / 0.6719 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.1495, allocations: 7.984 kB / 0.6719 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1495, allocations: 0 / 0.6719 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.1495, allocations: 0 / 0.6719 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002652/0.1498, allocations: 148.9 kB / 0.672 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.71e-05/0.1499, allocations: 97 kB / 0.6721 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.935e-05/0.1499, allocations: 4 kB / 0.6721 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.052e-05/0.15, allocations: 4 kB / 0.6721 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.525e-05/0.15, allocations: 11.92 kB / 0.6721 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.697e-06/0.15, allocations: 4 kB / 0.6721 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002/0.1503, allocations: 192.6 kB / 0.6723 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.1e-07/0.1503, allocations: 0 / 0.6723 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002459/0.1505, allocations: 31.92 kB / 0.6724 GB, free: 13.54 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.001975/0.1525, allocations: 0.9945 MB / 0.6733 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002162/0.1527, allocations: 71.91 kB / 0.6734 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1527, allocations: 0 / 0.6734 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.945e-05/0.1528, allocations: 40.12 kB / 0.6734 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003217/0.1532, allocations: 55.84 kB / 0.6735 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002275/0.1555, allocations: 1.957 MB / 0.6754 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003347/0.1558, allocations: 0.7279 MB / 0.6761 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 6.804e-05/0.1559, allocations: 25.36 kB / 0.6761 GB, free: 9.699 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.305e-05/0.156, allocations: 47.36 kB / 0.6762 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.156, allocations: 0 / 0.6762 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2718/0.4278, allocations: 4.505 MB / 0.6806 GB, free: 5.246 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.905/9.333, allocations: 13.56 kB / 0.6806 GB, free: 5.238 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_BooleanReplicator_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_BooleanReplicator.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)