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.001019/0.001018, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001273/0.001273, allocations: 197 kB / 16.26 MB, free: 6.621 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.367/1.367, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7387/0.7387, allocations: 132.2 MB / 422.3 MB, free: 1.938 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 64 kB / 0.5013 GB, free: 9.016 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1665, allocations: 80.22 MB / 0.5797 GB, free: 9.023 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.004229/0.1708, allocations: 1.833 MB / 0.5815 GB, free: 7.172 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002273/0.1731, allocations: 1.003 MB / 0.5825 GB, free: 6.16 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.242e-05/0.1732, allocations: 3.938 kB / 0.5825 GB, free: 6.156 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007556/0.1739, allocations: 159.7 kB / 0.5826 GB, free: 6 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003671/0.1743, allocations: 103.7 kB / 0.5827 GB, free: 5.898 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006104/0.175, allocations: 151.3 kB / 0.5829 GB, free: 5.754 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002831/0.1753, allocations: 163.6 kB / 0.583 GB, free: 5.594 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001427/0.1754, allocations: 32.84 kB / 0.583 GB, free: 5.562 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001433/0.1756, allocations: 71.66 kB / 0.5831 GB, free: 5.492 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001423/0.1757, allocations: 71.73 kB / 0.5832 GB, free: 5.422 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.774e-05/0.1758, allocations: 8 kB / 0.5832 GB, free: 5.414 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001844/0.176, allocations: 63.91 kB / 0.5832 GB, free: 5.352 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.455e-05/0.1761, allocations: 43.89 kB / 0.5833 GB, free: 5.309 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.854e-05/0.1762, allocations: 55.62 kB / 0.5833 GB, free: 5.254 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003671/0.1766, allocations: 199.7 kB / 0.5835 GB, free: 5.059 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1766, allocations: 0 / 0.5835 GB, free: 5.059 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1766, allocations: 0 / 0.5835 GB, free: 5.059 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.1766, allocations: 4 kB / 0.5835 GB, free: 5.055 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.0008636/0.1775, allocations: 0.4884 MB / 0.584 GB, free: 4.512 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.1775, allocations: 8.031 kB / 0.584 GB, free: 4.504 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.044e-05/0.1776, allocations: 30.75 kB / 0.584 GB, free: 4.465 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.037e-05/0.1776, allocations: 16.75 kB / 0.5841 GB, free: 4.449 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003912/0.178, allocations: 253.4 kB / 0.5843 GB, free: 4.164 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.1781, allocations: 8.375 kB / 0.5843 GB, free: 4.156 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.396e-05/0.1781, allocations: 7.922 kB / 0.5843 GB, free: 4.148 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002458/0.1784, allocations: 99.25 kB / 0.5844 GB, free: 4.039 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.1784, allocations: 0 / 0.5844 GB, free: 4.039 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.681e-05/0.1784, allocations: 4 kB / 0.5844 GB, free: 4.035 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.287e-05/0.1784, allocations: 4 kB / 0.5844 GB, free: 4.031 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001312/0.1786, allocations: 27.98 kB / 0.5844 GB, free: 4.004 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006715/0.1793, allocations: 352.7 kB / 0.5848 GB, free: 3.609 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002717/0.1796, allocations: 74.67 kB / 0.5849 GB, free: 3.527 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.1797, allocations: 32.84 kB / 0.5849 GB, free: 3.492 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.1797, allocations: 0 / 0.5849 GB, free: 3.492 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002212/0.18, allocations: 91.33 kB / 0.585 GB, free: 3.391 MB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 2.435e-06/0.18, allocations: 7.938 kB / 0.585 GB, free: 3.383 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.000478/0.1805, allocations: 145.4 kB / 0.5851 GB, free: 3.234 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.537e-05/0.1805, allocations: 81.09 kB / 0.5852 GB, free: 3.137 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003869/0.1809, allocations: 255.1 kB / 0.5854 GB, free: 2.879 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/0.181, allocations: 33.7 kB / 0.5855 GB, free: 2.84 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.1811, allocations: 112.1 kB / 0.5856 GB, free: 2.727 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.868e-05/0.1811, allocations: 23.66 kB / 0.5856 GB, free: 2.703 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.769e-05/0.1812, allocations: 29.7 kB / 0.5856 GB, free: 2.668 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.1814, allocations: 330.8 kB / 0.5859 GB, free: 2.336 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001078/0.1815, allocations: 27.98 kB / 0.586 GB, free: 2.309 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.1817, allocations: 62.8 kB / 0.586 GB, free: 2.238 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001954/0.1819, allocations: 73.95 kB / 0.5861 GB, free: 2.16 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1819, allocations: 0 / 0.5861 GB, free: 2.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003208/0.1822, allocations: 125.4 kB / 0.5862 GB, free: 2.031 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.1822, allocations: 6.031 kB / 0.5862 GB, free: 2.027 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.1823, allocations: 0 / 0.5862 GB, free: 2.027 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.1823, allocations: 0 / 0.5862 GB, free: 2.027 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.1824, allocations: 19.98 kB / 0.5862 GB, free: 2.008 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.1824, allocations: 0 / 0.5862 GB, free: 2.008 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.622e-05/0.1825, allocations: 15.84 kB / 0.5863 GB, free: 1.992 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.1825, allocations: 4 kB / 0.5863 GB, free: 1.988 MB / 494.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 ($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.0001806/0.1827, allocations: 151.1 kB / 0.5864 GB, free: 1.832 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.368e-05/0.1828, allocations: 15.81 kB / 0.5864 GB, free: 1.816 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.52e-05/0.1828, allocations: 17.55 kB / 0.5864 GB, free: 1.797 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-05/0.1829, allocations: 4 kB / 0.5864 GB, free: 1.793 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1829, allocations: 0 / 0.5864 GB, free: 1.793 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.1829, allocations: 3.938 kB / 0.5865 GB, free: 1.789 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002784/0.1832, allocations: 221.5 kB / 0.5867 GB, free: 1.523 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.758e-06/0.1832, allocations: 0 / 0.5867 GB, free: 1.523 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.654e-05/0.1832, allocations: 15.92 kB / 0.5867 GB, free: 1.508 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.1833, allocations: 0 / 0.5867 GB, free: 1.508 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.1833, allocations: 4 kB / 0.5867 GB, free: 1.504 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.1833, allocations: 0 / 0.5867 GB, free: 1.504 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.1833, allocations: 3.984 kB / 0.5867 GB, free: 1.5 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003354/0.1836, allocations: 144.8 kB / 0.5868 GB, free: 1.34 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.119e-05/0.1837, allocations: 92.91 kB / 0.5869 GB, free: 1.23 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.706e-05/0.1837, allocations: 4 kB / 0.5869 GB, free: 1.227 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.167e-05/0.1838, allocations: 7.984 kB / 0.5869 GB, free: 1.219 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.787e-05/0.1838, allocations: 15.92 kB / 0.5869 GB, free: 1.203 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.416e-06/0.1839, allocations: 0 / 0.5869 GB, free: 1.203 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001704/0.184, allocations: 204.3 kB / 0.5871 GB, free: 1.004 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.184, allocations: 0 / 0.5871 GB, free: 1.004 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002307/0.1843, allocations: 31.98 kB / 0.5872 GB, free: 0.9727 MB / 494.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 (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.001327/0.1856, allocations: 0.9939 MB / 0.5881 GB, free: 136 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000194/0.1858, allocations: 71.91 kB / 0.5882 GB, free: 64 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1858, allocations: 3.938 kB / 0.5882 GB, free: 60 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.864e-05/0.1859, allocations: 39.98 kB / 0.5882 GB, free: 20 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002866/0.1862, allocations: 43.11 kB / 0.5883 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002048/0.1883, allocations: 1.974 MB / 0.5902 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002703/0.1885, allocations: 0.724 MB / 0.5909 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.611e-05/0.1886, allocations: 21.72 kB / 0.5909 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.908e-05/0.1887, allocations: 47.42 kB / 0.591 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1887, allocations: 0 / 0.591 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01376/0.2025, allocations: 4.291 MB / 0.5952 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001658/0.2027, allocations: 229.9 kB / 0.5954 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.843/2.045, allocations: 1.875 kB / 0.5954 GB, free: 8.699 MB / 0.4981 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)