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.00104/0.00104, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001123/0.001123, allocations: 198.4 kB / 16.14 MB, free: 6.656 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.326/1.326, allocations: 222.9 MB / 239.8 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9066/0.9066, allocations: 135.1 MB / 425.1 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001652/0.001652, allocations: 68.17 kB / 0.5048 GB, free: 5.668 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1901/0.1918, allocations: 80.92 MB / 0.5838 GB, free: 4.918 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.004154/0.196, allocations: 1.829 MB / 0.5856 GB, free: 3.066 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002202/0.1982, allocations: 1.003 MB / 0.5866 GB, free: 2.055 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.266e-05/0.1983, allocations: 7.938 kB / 0.5866 GB, free: 2.047 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006245/0.199, allocations: 151.7 kB / 0.5867 GB, free: 1.898 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003145/0.1993, allocations: 103.8 kB / 0.5868 GB, free: 1.797 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005857/0.1999, allocations: 150.3 kB / 0.587 GB, free: 1.656 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002686/0.2002, allocations: 171.6 kB / 0.5871 GB, free: 1.488 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.2003, allocations: 21.09 kB / 0.5871 GB, free: 1.469 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001465/0.2004, allocations: 75.56 kB / 0.5872 GB, free: 1.395 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001342/0.2006, allocations: 63.75 kB / 0.5873 GB, free: 1.332 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.58e-05/0.2006, allocations: 4 kB / 0.5873 GB, free: 1.328 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001604/0.2008, allocations: 55.91 kB / 0.5873 GB, free: 1.273 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.827e-05/0.2009, allocations: 39.89 kB / 0.5874 GB, free: 1.234 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.163e-05/0.201, allocations: 55.61 kB / 0.5874 GB, free: 1.18 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003442/0.2014, allocations: 191.7 kB / 0.5876 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2014, allocations: 0 / 0.5876 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.22e-07/0.2014, allocations: 0 / 0.5876 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.2014, allocations: 0 / 0.5876 GB, free: 0.9922 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.0008353/0.2022, allocations: 0.4924 MB / 0.5881 GB, free: 456 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.2023, allocations: 11.97 kB / 0.5881 GB, free: 444 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.482e-05/0.2024, allocations: 38.73 kB / 0.5881 GB, free: 396 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.41e-05/0.2024, allocations: 20.75 kB / 0.5882 GB, free: 376 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003495/0.2028, allocations: 236.8 kB / 0.5884 GB, free: 100 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.2028, allocations: 8.375 kB / 0.5884 GB, free: 92 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.518e-05/0.2029, allocations: 11.92 kB / 0.5884 GB, free: 80 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002514/0.2031, allocations: 87.31 kB / 0.5885 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.603e-06/0.2031, allocations: 4 kB / 0.5885 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.2032, allocations: 4 kB / 0.5885 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.21e-05/0.2032, allocations: 4 kB / 0.5885 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001376/0.2033, allocations: 35.97 kB / 0.5885 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006058/0.204, allocations: 344.7 kB / 0.5889 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002716/0.2042, allocations: 74.67 kB / 0.5889 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.2044, allocations: 36.84 kB / 0.589 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/0.2044, allocations: 4 kB / 0.589 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002112/0.2046, allocations: 83.31 kB / 0.5891 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 4.448e-06/0.2046, allocations: 112 / 0.5891 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0004588/0.2051, allocations: 141.7 kB / 0.5892 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001303/0.2053, allocations: 85.05 kB / 0.5893 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004109/0.2057, allocations: 274.8 kB / 0.5895 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.503e-05/0.2057, allocations: 29.69 kB / 0.5896 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.2058, allocations: 116.1 kB / 0.5897 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.943e-05/0.2059, allocations: 27.64 kB / 0.5897 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.507e-05/0.206, allocations: 21.72 kB / 0.5897 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.2061, allocations: 334.8 kB / 0.59 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/0.2062, allocations: 23.98 kB / 0.5901 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001365/0.2064, allocations: 63.42 kB / 0.5901 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001884/0.2066, allocations: 77.64 kB / 0.5902 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.2066, allocations: 0 / 0.5902 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003271/0.2069, allocations: 109.4 kB / 0.5903 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.207, allocations: 4 kB / 0.5903 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.207, allocations: 8.062 kB / 0.5903 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.207, allocations: 3.984 kB / 0.5903 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.728e-05/0.2071, allocations: 12 kB / 0.5903 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.2071, allocations: 0 / 0.5903 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.646e-05/0.2072, allocations: 11.84 kB / 0.5903 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.2073, allocations: 4 kB / 0.5903 GB, free: 13.92 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.0001679/0.2074, allocations: 142.6 kB / 0.5905 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.16e-05/0.2075, allocations: 15.81 kB / 0.5905 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.072e-05/0.2076, allocations: 25.39 kB / 0.5905 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.221e-05/0.2076, allocations: 0 / 0.5905 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.778e-06/0.2076, allocations: 4 kB / 0.5905 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.2076, allocations: 11.86 kB / 0.5905 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002621/0.2079, allocations: 225.5 kB / 0.5907 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.2079, allocations: 96 / 0.5907 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.276e-05/0.2079, allocations: 7.938 kB / 0.5908 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.208, allocations: 3.938 kB / 0.5908 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.208, allocations: 0 / 0.5908 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.551e-06/0.208, allocations: 4 kB / 0.5908 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.208, allocations: 0 / 0.5908 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000318/0.2083, allocations: 148.8 kB / 0.5909 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.984e-05/0.2084, allocations: 92.92 kB / 0.591 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.563e-05/0.2085, allocations: 4 kB / 0.591 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.515e-05/0.2085, allocations: 3.984 kB / 0.591 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.921e-05/0.2086, allocations: 7.938 kB / 0.591 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.2086, allocations: 4 kB / 0.591 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003088/0.2089, allocations: 200.6 kB / 0.5912 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2089, allocations: 0 / 0.5912 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003909/0.2093, allocations: 28 kB / 0.5912 GB, free: 12.91 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.002113/0.2115, allocations: 0.9887 MB / 0.5922 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002892/0.2118, allocations: 75.91 kB / 0.5923 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.2118, allocations: 0 / 0.5923 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001335/0.2119, allocations: 43.92 kB / 0.5923 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004117/0.2124, allocations: 45.84 kB / 0.5924 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003343/0.2157, allocations: 1.973 MB / 0.5943 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005153/0.2162, allocations: 0.7282 MB / 0.595 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001186/0.2164, allocations: 21.72 kB / 0.595 GB, free: 9.09 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001083/0.2165, allocations: 47.41 kB / 0.5951 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of SimCode: time 5.21e-07/0.2165, allocations: 3.938 kB / 0.5951 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01628/0.2328, allocations: 4.195 MB / 0.5992 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002789/0.2331, allocations: 245.3 kB / 0.5994 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.8/2.033, allocations: 0 / 0.5994 GB, free: 4.699 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)