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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 101.9 kB / 19.73 MB, free: 1.992 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002034/0.002034, allocations: 213.8 kB / 23.03 MB, free: 4.426 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.511/1.511, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8508/0.8508, allocations: 134 MB / 447.2 MB, free: 9.898 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_BooleanReplicator",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_BooleanReplicator",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002178/0.002178, allocations: 65.33 kB / 0.6193 GB, free: 6.883 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1738/0.176, allocations: 85.9 MB / 0.7031 GB, free: 1.07 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.003444/0.1795, allocations: 1.786 MB / 0.7049 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002062/0.1815, allocations: 1.116 MB / 0.706 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.198e-05/0.1816, allocations: 3.938 kB / 0.706 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0006514/0.1823, allocations: 167.5 kB / 0.7061 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003944/0.1827, allocations: 159.5 kB / 0.7063 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003818/0.1831, allocations: 139.6 kB / 0.7064 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002372/0.1833, allocations: 175.5 kB / 0.7066 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.1834, allocations: 17.58 kB / 0.7066 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.1835, allocations: 75.69 kB / 0.7067 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001233/0.1836, allocations: 75.69 kB / 0.7067 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.283e-05/0.1837, allocations: 8 kB / 0.7068 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001588/0.1838, allocations: 75.88 kB / 0.7068 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.865e-05/0.1839, allocations: 47.83 kB / 0.7069 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.092e-05/0.184, allocations: 51.73 kB / 0.7069 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00031/0.1843, allocations: 203.1 kB / 0.7071 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1843, allocations: 7.875 kB / 0.7071 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1843, allocations: 0 / 0.7071 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.1843, allocations: 0 / 0.7071 GB, free: 12.96 MB / 0.5294 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.0007556/0.185, allocations: 434.9 kB / 0.7075 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.1851, allocations: 12.03 kB / 0.7075 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.859e-05/0.1851, allocations: 192 / 0.7075 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.667e-05/0.1851, allocations: 38.75 kB / 0.7076 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.05e-05/0.1852, allocations: 28.78 kB / 0.7076 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003038/0.1855, allocations: 190.2 kB / 0.7078 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.1855, allocations: 4.125 kB / 0.7078 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/0.1855, allocations: 11.94 kB / 0.7078 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002089/0.1857, allocations: 116.8 kB / 0.7079 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.1858, allocations: 4 kB / 0.7079 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.1858, allocations: 4 kB / 0.7079 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.515e-05/0.1858, allocations: 3.984 kB / 0.7079 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.798e-05/0.1859, allocations: 35.98 kB / 0.708 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005242/0.1864, allocations: 315.8 kB / 0.7083 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002019/0.1866, allocations: 74.67 kB / 0.7083 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.473e-05/0.1867, allocations: 32.84 kB / 0.7084 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.168e-05/0.1867, allocations: 3.938 kB / 0.7084 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001788/0.1869, allocations: 91.3 kB / 0.7085 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=10): time 1.573e-06/0.1869, allocations: 0 / 0.7085 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of matching and sorting (n=10): time 0.0003582/0.1872, allocations: 149.5 kB / 0.7086 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.909e-05/0.1873, allocations: 77.11 kB / 0.7087 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003082/0.1876, allocations: 276.2 kB / 0.7089 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.307e-05/0.1876, allocations: 33.7 kB / 0.709 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.435e-05/0.1877, allocations: 124.1 kB / 0.7091 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.177e-05/0.1877, allocations: 23.8 kB / 0.7091 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.315e-05/0.1878, allocations: 33.7 kB / 0.7091 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.1879, allocations: 326.8 kB / 0.7095 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.622e-05/0.188, allocations: 27.98 kB / 0.7095 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.1881, allocations: 114.8 kB / 0.7096 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001342/0.1883, allocations: 73.64 kB / 0.7097 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1883, allocations: 0 / 0.7097 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002166/0.1885, allocations: 129.9 kB / 0.7098 GB, free: 9.984 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.1885, allocations: 4.109 kB / 0.7098 GB, free: 9.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.1885, allocations: 7.938 kB / 0.7098 GB, free: 9.973 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.1885, allocations: 3.938 kB / 0.7098 GB, free: 9.969 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.451e-05/0.1886, allocations: 11.98 kB / 0.7098 GB, free: 9.957 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.1886, allocations: 3.938 kB / 0.7098 GB, free: 9.953 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.631e-05/0.1887, allocations: 7.953 kB / 0.7098 GB, free: 9.945 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.526e-05/0.1887, allocations: 8 kB / 0.7098 GB, free: 9.938 MB / 0.5294 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.0001434/0.1888, allocations: 149.8 kB / 0.71 GB, free: 9.781 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.106e-05/0.1889, allocations: 15.91 kB / 0.71 GB, free: 9.766 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002631/0.1891, allocations: 123.1 kB / 0.7101 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-05/0.1891, allocations: 4 kB / 0.7101 GB, free: 9.637 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.1891, allocations: 3.938 kB / 0.7101 GB, free: 9.633 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.1892, allocations: 0 / 0.7101 GB, free: 9.633 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002172/0.1894, allocations: 192.6 kB / 0.7103 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1894, allocations: 0 / 0.7103 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.289e-05/0.1894, allocations: 15.94 kB / 0.7103 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1894, allocations: 0 / 0.7103 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.1894, allocations: 4 kB / 0.7103 GB, free: 9.383 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.1894, allocations: 4 kB / 0.7103 GB, free: 9.379 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.1894, allocations: 3.938 kB / 0.7103 GB, free: 9.375 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002567/0.1897, allocations: 156.9 kB / 0.7105 GB, free: 9.203 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.126e-05/0.1897, allocations: 15.91 kB / 0.7105 GB, free: 9.188 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.823e-05/0.1897, allocations: 0 / 0.7105 GB, free: 9.188 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.578e-05/0.1898, allocations: 11.98 kB / 0.7105 GB, free: 9.176 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.893e-05/0.1898, allocations: 7.922 kB / 0.7105 GB, free: 9.168 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.1898, allocations: 4 kB / 0.7105 GB, free: 9.164 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002095/0.1901, allocations: 200.6 kB / 0.7107 GB, free: 8.969 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.1901, allocations: 0 / 0.7107 GB, free: 8.969 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002485/0.1903, allocations: 39.92 kB / 0.7107 GB, free: 8.93 MB / 0.5294 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.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * 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.002076/0.1924, allocations: 1.038 MB / 0.7118 GB, free: 8.086 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002256/0.1926, allocations: 75.89 kB / 0.7118 GB, free: 8.012 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.197e-06/0.1926, allocations: 4 kB / 0.7118 GB, free: 8.008 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.602e-05/0.1927, allocations: 35.98 kB / 0.7119 GB, free: 7.973 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002917/0.193, allocations: 32.91 kB / 0.7119 GB, free: 7.941 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002421/0.1954, allocations: 2.021 MB / 0.7139 GB, free: 5.828 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001175/0.1955, allocations: 110.6 kB / 0.714 GB, free: 5.699 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 7.483e-05/0.1956, allocations: 25.41 kB / 0.714 GB, free: 5.676 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.933e-05/0.1957, allocations: 55.41 kB / 0.7141 GB, free: 5.621 MB / 0.5294 GB Notification: Performance of SimCode: time 5.91e-07/0.1957, allocations: 0 / 0.7141 GB, free: 5.621 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02692/0.2226, allocations: 5.014 MB / 0.719 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.46, allocations: 6.25 kB / 0.719 GB, free: 0.707 MB / 0.5294 GB " [Timeout remaining time 648] (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 --stepSize=0.24 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_BooleanReplicator.fmu > IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.2685475719627] Failed to read output from testmodel.py, exit status != 0: 11.680727993953042 11.70613021 11.517715315 Calling exit ...