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.005978/0.005978, allocations: 102 kB / 15.73 MB, free: 6.039 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.001489/0.00149, allocations: 193 kB / 16.67 MB, free: 5.961 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.385/1.385, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8754/0.8754, allocations: 132.2 MB / 422.7 MB, free: 6.539 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 66.58 kB / 0.5809 GB, free: 24.13 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1702, allocations: 80.21 MB / 0.6592 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.003469/0.1737, allocations: 1.773 MB / 0.6609 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001753/0.1755, allocations: 1.03 MB / 0.6619 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001331/0.1757, allocations: 7.938 kB / 0.6619 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006616/0.1764, allocations: 155.5 kB / 0.6621 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003185/0.1767, allocations: 107.6 kB / 0.6622 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005023/0.1772, allocations: 177 kB / 0.6624 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002616/0.1775, allocations: 171.6 kB / 0.6625 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.1776, allocations: 17.12 kB / 0.6625 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001424/0.1777, allocations: 71.69 kB / 0.6626 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001435/0.1779, allocations: 75.73 kB / 0.6627 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.314e-05/0.1779, allocations: 8 kB / 0.6627 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001732/0.1781, allocations: 63.89 kB / 0.6627 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.117e-05/0.1782, allocations: 47.84 kB / 0.6628 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.092e-05/0.1783, allocations: 59.61 kB / 0.6628 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003394/0.1786, allocations: 198.8 kB / 0.663 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.1786, allocations: 0 / 0.663 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.382e-06/0.1786, allocations: 0 / 0.663 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.1787, allocations: 0 / 0.663 GB, free: 6.797 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.0007726/0.1794, allocations: 496.6 kB / 0.6635 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.1795, allocations: 8.031 kB / 0.6635 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.063e-05/0.1795, allocations: 38.75 kB / 0.6636 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.857e-05/0.1796, allocations: 24.67 kB / 0.6636 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003173/0.1799, allocations: 252.8 kB / 0.6638 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.1799, allocations: 4.375 kB / 0.6638 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.845e-05/0.18, allocations: 11.94 kB / 0.6638 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001985/0.1802, allocations: 83.38 kB / 0.6639 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.1802, allocations: 0 / 0.6639 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.1802, allocations: 3.984 kB / 0.6639 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.005e-05/0.1802, allocations: 4 kB / 0.6639 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.965e-05/0.1803, allocations: 39.92 kB / 0.664 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005044/0.1809, allocations: 352.7 kB / 0.6643 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001951/0.1811, allocations: 74.61 kB / 0.6644 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.831e-05/0.1811, allocations: 32.84 kB / 0.6644 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.134e-05/0.1812, allocations: 4 kB / 0.6644 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001659/0.1813, allocations: 87.36 kB / 0.6645 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.944e-06/0.1814, allocations: 0 / 0.6645 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0003594/0.1817, allocations: 145.4 kB / 0.6646 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.733e-05/0.1818, allocations: 77.11 kB / 0.6647 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002609/0.1821, allocations: 262.7 kB / 0.6649 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.1821, allocations: 33.7 kB / 0.665 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.485e-05/0.1822, allocations: 120 kB / 0.6651 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.101e-05/0.1822, allocations: 27.64 kB / 0.6651 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.044e-05/0.1823, allocations: 25.72 kB / 0.6651 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.1824, allocations: 326.8 kB / 0.6655 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.959e-05/0.1825, allocations: 31.98 kB / 0.6655 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.1826, allocations: 63.36 kB / 0.6655 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.1827, allocations: 78.09 kB / 0.6656 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1827, allocations: 0 / 0.6656 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002191/0.183, allocations: 121.4 kB / 0.6657 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.183, allocations: 4 kB / 0.6657 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.183, allocations: 0 / 0.6657 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.183, allocations: 0 / 0.6657 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.02e-05/0.1831, allocations: 19.92 kB / 0.6658 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.1831, allocations: 0 / 0.6658 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.226e-05/0.1832, allocations: 15.91 kB / 0.6658 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.1832, allocations: 8 kB / 0.6658 GB, free: 3.703 MB / 0.4981 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.0001254/0.1833, allocations: 139.1 kB / 0.6659 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.156e-05/0.1834, allocations: 15.81 kB / 0.6659 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.822e-05/0.1834, allocations: 21.39 kB / 0.666 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.849e-06/0.1835, allocations: 4 kB / 0.666 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1835, allocations: 0 / 0.666 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.1835, allocations: 3.938 kB / 0.666 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002175/0.1837, allocations: 229.5 kB / 0.6662 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1837, allocations: 0 / 0.6662 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.413e-05/0.1837, allocations: 4 kB / 0.6662 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.1837, allocations: 0 / 0.6662 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.1838, allocations: 0 / 0.6662 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.1838, allocations: 0 / 0.6662 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1838, allocations: 0 / 0.6662 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002401/0.184, allocations: 152.8 kB / 0.6663 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.914e-05/0.1841, allocations: 96.86 kB / 0.6664 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.634e-05/0.1841, allocations: 3.984 kB / 0.6664 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.011e-05/0.1842, allocations: 8 kB / 0.6664 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.605e-05/0.1842, allocations: 11.92 kB / 0.6664 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.1842, allocations: 4 kB / 0.6664 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001874/0.1844, allocations: 195.2 kB / 0.6666 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1844, allocations: 0 / 0.6666 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002512/0.1847, allocations: 24 kB / 0.6667 GB, free: 2.711 MB / 0.4981 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.001361/0.1861, allocations: 1.002 MB / 0.6676 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002258/0.1863, allocations: 75.91 kB / 0.6677 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1863, allocations: 0 / 0.6677 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.44e-05/0.1864, allocations: 36.08 kB / 0.6677 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003215/0.1867, allocations: 57.75 kB / 0.6678 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002316/0.1891, allocations: 1.957 MB / 0.6697 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003024/0.1894, allocations: 0.7201 MB / 0.6704 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.531e-05/0.1895, allocations: 25.41 kB / 0.6704 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.127e-05/0.1896, allocations: 47.42 kB / 0.6705 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of SimCode: time 3.4e-07/0.1896, allocations: 0 / 0.6705 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02488/0.2145, allocations: 4.543 MB / 0.6749 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.672/7.886, allocations: 1.781 kB / 0.6749 GB, free: 10.43 MB / 0.5137 GB (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)