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.001281/0.001281, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001298/0.001298, allocations: 188 kB / 16.25 MB, free: 6.637 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.36/1.36, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9608/0.9608, allocations: 135.1 MB / 425.2 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002277/0.002278, allocations: 65.12 kB / 0.505 GB, free: 5.539 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1711, allocations: 80.93 MB / 0.584 GB, free: 4.777 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.002833/0.174, allocations: 1.817 MB / 0.5858 GB, free: 2.938 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001406/0.1754, allocations: 1.01 MB / 0.5868 GB, free: 1.918 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/0.1755, allocations: 4 kB / 0.5868 GB, free: 1.914 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000633/0.1762, allocations: 151.7 kB / 0.5869 GB, free: 1.766 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000288/0.1765, allocations: 107.7 kB / 0.587 GB, free: 1.66 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00044/0.1769, allocations: 158.8 kB / 0.5872 GB, free: 1.508 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002234/0.1772, allocations: 167.6 kB / 0.5873 GB, free: 1.344 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.722e-05/0.1773, allocations: 21.11 kB / 0.5873 GB, free: 1.324 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001144/0.1774, allocations: 75.69 kB / 0.5874 GB, free: 1.25 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.1775, allocations: 75.69 kB / 0.5875 GB, free: 1.176 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.211e-05/0.1775, allocations: 8 kB / 0.5875 GB, free: 1.168 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001297/0.1777, allocations: 55.97 kB / 0.5875 GB, free: 1.113 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.285e-05/0.1777, allocations: 39.91 kB / 0.5876 GB, free: 1.074 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.302e-05/0.1778, allocations: 67.53 kB / 0.5876 GB, free: 1.008 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002497/0.1781, allocations: 195.7 kB / 0.5878 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1781, allocations: 0 / 0.5878 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1781, allocations: 0 / 0.5878 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.1781, allocations: 0 / 0.5878 GB, free: 0.8164 MB / 494.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.0006079/0.1787, allocations: 0.4885 MB / 0.5883 GB, free: 280 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.1787, allocations: 8.031 kB / 0.5883 GB, free: 272 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.216e-05/0.1788, allocations: 38.75 kB / 0.5883 GB, free: 224 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.635e-05/0.1788, allocations: 12.75 kB / 0.5884 GB, free: 212 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002538/0.1791, allocations: 252.7 kB / 0.5886 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.1791, allocations: 8.312 kB / 0.5886 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.741e-05/0.1792, allocations: 11.92 kB / 0.5886 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001717/0.1793, allocations: 87.39 kB / 0.5887 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.1793, allocations: 0 / 0.5887 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.1794, allocations: 7.969 kB / 0.5887 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.723e-05/0.1794, allocations: 4 kB / 0.5887 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.915e-05/0.1795, allocations: 31.92 kB / 0.5887 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004373/0.1799, allocations: 344.8 kB / 0.5891 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001789/0.1801, allocations: 82.61 kB / 0.5892 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.279e-05/0.1802, allocations: 32.84 kB / 0.5892 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.1802, allocations: 4.109 kB / 0.5892 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001456/0.1804, allocations: 83.31 kB / 0.5893 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 3.085e-06/0.1804, allocations: 3.984 kB / 0.5893 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0003081/0.1807, allocations: 145.4 kB / 0.5894 GB, free: 15 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/0.1807, allocations: 77.11 kB / 0.5895 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002381/0.181, allocations: 274.8 kB / 0.5897 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.181, allocations: 25.7 kB / 0.5898 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.91e-05/0.1811, allocations: 116.1 kB / 0.5899 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.867e-05/0.1811, allocations: 27.64 kB / 0.5899 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.287e-05/0.1812, allocations: 25.7 kB / 0.5899 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.508e-05/0.1813, allocations: 330.8 kB / 0.5902 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.573e-05/0.1813, allocations: 31.98 kB / 0.5903 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.294e-05/0.1814, allocations: 63.36 kB / 0.5903 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001204/0.1816, allocations: 74 kB / 0.5904 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1816, allocations: 0 / 0.5904 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001972/0.1818, allocations: 117.4 kB / 0.5905 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.1818, allocations: 8.062 kB / 0.5905 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.1818, allocations: 0 / 0.5905 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.1818, allocations: 4 kB / 0.5905 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.931e-05/0.1819, allocations: 11.94 kB / 0.5905 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.1819, allocations: 0 / 0.5905 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.956e-05/0.182, allocations: 15.83 kB / 0.5906 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.182, allocations: 4 kB / 0.5906 GB, free: 13.74 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.0001069/0.1821, allocations: 137.8 kB / 0.5907 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.562e-05/0.1821, allocations: 19.81 kB / 0.5907 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.533e-05/0.1822, allocations: 21.39 kB / 0.5907 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.747e-06/0.1822, allocations: 0 / 0.5907 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.1822, allocations: 0 / 0.5907 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.1822, allocations: 3.938 kB / 0.5907 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001708/0.1824, allocations: 229.5 kB / 0.591 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1824, allocations: 3.938 kB / 0.591 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.165e-05/0.1824, allocations: 4 kB / 0.591 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1824, allocations: 0 / 0.591 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.1824, allocations: 0 / 0.591 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.1824, allocations: 3.984 kB / 0.591 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1825, allocations: 4 kB / 0.591 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002089/0.1827, allocations: 145 kB / 0.5911 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.891e-05/0.1827, allocations: 92.92 kB / 0.5912 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.693e-05/0.1828, allocations: 3.984 kB / 0.5912 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.672e-05/0.1828, allocations: 7.938 kB / 0.5912 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.13e-05/0.1829, allocations: 15.92 kB / 0.5912 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.1829, allocations: 4 kB / 0.5912 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001621/0.1831, allocations: 196.6 kB / 0.5914 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1831, allocations: 0 / 0.5914 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002339/0.1833, allocations: 28 kB / 0.5914 GB, free: 12.74 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.007277/0.1906, allocations: 1.003 MB / 0.5924 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002523/0.1908, allocations: 83.84 kB / 0.5925 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1909, allocations: 0 / 0.5925 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.968e-05/0.1909, allocations: 35.92 kB / 0.5925 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002904/0.1912, allocations: 51.33 kB / 0.5926 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001961/0.1932, allocations: 1.973 MB / 0.5945 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000228/0.1935, allocations: 0.724 MB / 0.5952 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.346e-05/0.1935, allocations: 25.72 kB / 0.5952 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.247e-05/0.1936, allocations: 43.42 kB / 0.5953 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of SimCode: time 4e-07/0.1936, allocations: 3.938 kB / 0.5953 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.559/1.753, allocations: 4.299 MB / 0.5995 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003845/1.753, allocations: 233.7 kB / 0.5997 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.262/4.015, allocations: 0 / 0.5997 GB, free: 4.414 MB / 0.4981 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)