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.00178/0.00178, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002324/0.002324, allocations: 210.5 kB / 22.24 MB, free: 5.242 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.462/1.462, allocations: 230.6 MB / 256 MB, free: 7.785 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.8375/0.8375, allocations: 134 MB / 446.4 MB, free: 9.957 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="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"}) [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.002046/0.002046, allocations: 73.97 kB / 0.6185 GB, free: 6.867 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1767/0.1787, allocations: 85.91 MB / 0.7024 GB, free: 1.047 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.003198/0.1819, allocations: 1.781 MB / 0.7041 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002011/0.1839, allocations: 1.116 MB / 0.7052 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.631e-05/0.184, allocations: 4 kB / 0.7052 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0006646/0.1847, allocations: 171.5 kB / 0.7054 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003698/0.1851, allocations: 159.5 kB / 0.7055 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000355/0.1854, allocations: 139.6 kB / 0.7057 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00023/0.1856, allocations: 171.5 kB / 0.7058 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.282e-05/0.1857, allocations: 17.53 kB / 0.7058 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001088/0.1858, allocations: 71.75 kB / 0.7059 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.186, allocations: 79.66 kB / 0.706 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.171e-05/0.186, allocations: 12 kB / 0.706 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001583/0.1861, allocations: 79.81 kB / 0.7061 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.055e-05/0.1862, allocations: 43.84 kB / 0.7061 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.525e-05/0.1863, allocations: 43.73 kB / 0.7062 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000294/0.1866, allocations: 211.1 kB / 0.7064 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1866, allocations: 0 / 0.7064 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.052e-06/0.1866, allocations: 0 / 0.7064 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.1866, allocations: 3.938 kB / 0.7064 GB, free: 12.94 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.000705/0.1873, allocations: 429.3 kB / 0.7068 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.1873, allocations: 16.02 kB / 0.7068 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.098e-05/0.1874, allocations: 38.75 kB / 0.7068 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.846e-05/0.1874, allocations: 20.8 kB / 0.7068 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002896/0.1877, allocations: 186.2 kB / 0.707 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.1877, allocations: 4.375 kB / 0.707 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.143e-05/0.1877, allocations: 11.88 kB / 0.707 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/0.1879, allocations: 74.92 kB / 0.7071 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.1879, allocations: 0 / 0.7071 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.1879, allocations: 7.984 kB / 0.7071 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.1879, allocations: 0 / 0.7071 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.83e-05/0.188, allocations: 35.98 kB / 0.7071 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005025/0.1885, allocations: 327.7 kB / 0.7075 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001909/0.1887, allocations: 66.67 kB / 0.7075 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.325e-05/0.1888, allocations: 32.84 kB / 0.7076 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/0.1888, allocations: 0 / 0.7076 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000158/0.189, allocations: 87.31 kB / 0.7076 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=10): time 1.362e-06/0.189, allocations: 0 / 0.7076 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of matching and sorting (n=10): time 0.0003569/0.1893, allocations: 153.5 kB / 0.7078 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/0.1894, allocations: 51.41 kB / 0.7078 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003016/0.1897, allocations: 280.5 kB / 0.7081 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.516e-05/0.1897, allocations: 29.69 kB / 0.7081 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.143e-05/0.1898, allocations: 120.1 kB / 0.7082 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.238e-05/0.1898, allocations: 31.72 kB / 0.7083 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.039e-05/0.1899, allocations: 33.7 kB / 0.7083 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.19, allocations: 330.8 kB / 0.7086 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.473e-05/0.1901, allocations: 27.98 kB / 0.7086 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.1902, allocations: 80.25 kB / 0.7087 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001778/0.1904, allocations: 73.64 kB / 0.7088 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1904, allocations: 4.031 kB / 0.7088 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002119/0.1906, allocations: 117.6 kB / 0.7089 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.1906, allocations: 7.938 kB / 0.7089 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.1906, allocations: 4 kB / 0.7089 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.1906, allocations: 4 kB / 0.7089 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.738e-05/0.1907, allocations: 11.98 kB / 0.7089 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.1907, allocations: 0 / 0.7089 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.972e-05/0.1908, allocations: 11.89 kB / 0.7089 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.1908, allocations: 8.156 kB / 0.709 GB, free: 10.06 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.0001875/0.191, allocations: 141.8 kB / 0.7091 GB, free: 9.914 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.992e-05/0.191, allocations: 19.89 kB / 0.7091 GB, free: 9.895 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002625/0.1913, allocations: 131 kB / 0.7092 GB, free: 9.762 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/0.1913, allocations: 4 kB / 0.7092 GB, free: 9.758 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.1913, allocations: 0 / 0.7092 GB, free: 9.758 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.1913, allocations: 7.922 kB / 0.7092 GB, free: 9.75 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002049/0.1915, allocations: 196.6 kB / 0.7094 GB, free: 9.516 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1915, allocations: 0 / 0.7094 GB, free: 9.516 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.87e-05/0.1915, allocations: 4 kB / 0.7094 GB, free: 9.512 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.1915, allocations: 8 kB / 0.7094 GB, free: 9.504 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.1915, allocations: 4.094 kB / 0.7095 GB, free: 9.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1915, allocations: 3.938 kB / 0.7095 GB, free: 9.496 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1915, allocations: 0 / 0.7095 GB, free: 9.496 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002561/0.1918, allocations: 164.1 kB / 0.7096 GB, free: 9.32 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.431e-05/0.1918, allocations: 11.91 kB / 0.7096 GB, free: 9.309 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.651e-05/0.1919, allocations: 4 kB / 0.7096 GB, free: 9.305 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.154e-05/0.1919, allocations: 7.984 kB / 0.7096 GB, free: 9.297 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.712e-05/0.192, allocations: 11.92 kB / 0.7096 GB, free: 9.285 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.192, allocations: 4 kB / 0.7096 GB, free: 9.281 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002133/0.1922, allocations: 200.6 kB / 0.7098 GB, free: 9.086 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.1922, allocations: 4 kB / 0.7098 GB, free: 9.082 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00024/0.1924, allocations: 35.92 kB / 0.7099 GB, free: 9.047 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.002111/0.1945, allocations: 1.03 MB / 0.7109 GB, free: 8.207 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000256/0.1948, allocations: 71.95 kB / 0.711 GB, free: 8.137 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1948, allocations: 0 / 0.711 GB, free: 8.137 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.92e-05/0.1949, allocations: 43.91 kB / 0.711 GB, free: 8.094 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002884/0.1952, allocations: 48.84 kB / 0.711 GB, free: 8.055 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002645/0.1978, allocations: 2.001 MB / 0.713 GB, free: 5.961 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001144/0.1979, allocations: 114.6 kB / 0.7131 GB, free: 5.828 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 7.84e-05/0.198, allocations: 25.72 kB / 0.7131 GB, free: 5.805 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.267e-05/0.1981, allocations: 55.42 kB / 0.7132 GB, free: 5.75 MB / 0.5294 GB Notification: Performance of SimCode: time 4.21e-07/0.1981, allocations: 0 / 0.7132 GB, free: 5.75 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03695/0.235, allocations: 5.289 MB / 0.7183 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.26, allocations: 0 / 0.7183 GB, free: 0.5391 MB / 0.5294 GB " [Timeout remaining time 649] (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 sys.exit(0), Time elapsed: 14.955676145851612] Failed to read output from testmodel.py, exit status != 0: 11.428378070238978 11.458071314 11.266004702 Calling exit ...