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.001407/0.001407, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.001516/0.001516, allocations: 209.5 kB / 20.13 MB, free: 3.035 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.494/1.494, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.8839/0.8839, allocations: 133.9 MB / 443.5 MB, free: 13.91 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.002047/0.002047, allocations: 67.91 kB / 0.6141 GB, free: 38.31 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1717/0.1737, allocations: 85.85 MB / 0.6979 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.00339/0.1771, allocations: 1.818 MB / 0.6997 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002/0.1791, allocations: 1.179 MB / 0.7009 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.487e-05/0.1792, allocations: 5.312 kB / 0.7009 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0006115/0.1798, allocations: 162.4 kB / 0.701 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003665/0.1802, allocations: 154.4 kB / 0.7012 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003677/0.1806, allocations: 138.7 kB / 0.7013 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002346/0.1808, allocations: 177.3 kB / 0.7015 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.1809, allocations: 14.73 kB / 0.7015 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.181, allocations: 73.2 kB / 0.7016 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.1811, allocations: 79.78 kB / 0.7016 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.111e-05/0.1811, allocations: 8.781 kB / 0.7016 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001537/0.1813, allocations: 69.27 kB / 0.7017 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.79e-05/0.1814, allocations: 39.56 kB / 0.7018 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.799e-05/0.1814, allocations: 68.98 kB / 0.7018 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003303/0.1818, allocations: 207.1 kB / 0.702 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1818, allocations: 0 / 0.702 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1818, allocations: 0 / 0.702 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.1818, allocations: 0 / 0.702 GB, free: 10.67 MB / 0.5137 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.0007686/0.1826, allocations: 0.5005 MB / 0.7025 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.1826, allocations: 12.8 kB / 0.7025 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.547e-05/0.1826, allocations: 192 / 0.7025 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.841e-05/0.1826, allocations: 42.73 kB / 0.7026 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.669e-05/0.1827, allocations: 20.84 kB / 0.7026 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003132/0.183, allocations: 255.9 kB / 0.7028 GB, free: 9.797 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.183, allocations: 8.125 kB / 0.7028 GB, free: 9.789 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.741e-05/0.183, allocations: 0 / 0.7028 GB, free: 9.789 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002066/0.1832, allocations: 94.7 kB / 0.7029 GB, free: 9.688 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.1833, allocations: 4 kB / 0.7029 GB, free: 9.684 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.1833, allocations: 0 / 0.7029 GB, free: 9.684 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.982e-05/0.1833, allocations: 3.984 kB / 0.7029 GB, free: 9.68 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001026/0.1834, allocations: 43.92 kB / 0.703 GB, free: 9.637 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005505/0.1839, allocations: 356.6 kB / 0.7033 GB, free: 9.238 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002004/0.1841, allocations: 70.61 kB / 0.7034 GB, free: 9.16 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.295e-05/0.1842, allocations: 36.83 kB / 0.7034 GB, free: 9.121 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.1842, allocations: 4 kB / 0.7034 GB, free: 9.117 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001705/0.1844, allocations: 79.38 kB / 0.7035 GB, free: 9.027 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=10): time 1.493e-06/0.1844, allocations: 0 / 0.7035 GB, free: 9.027 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10): time 0.0003713/0.1848, allocations: 145.5 kB / 0.7036 GB, free: 8.879 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.244e-05/0.1848, allocations: 77.11 kB / 0.7037 GB, free: 8.785 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003224/0.1852, allocations: 276.2 kB / 0.704 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.1852, allocations: 29.7 kB / 0.704 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.45e-05/0.1853, allocations: 124.1 kB / 0.7041 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.982e-05/0.1853, allocations: 31.77 kB / 0.7041 GB, free: 8.312 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-05/0.1854, allocations: 21.72 kB / 0.7042 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.1855, allocations: 334.8 kB / 0.7045 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.887e-05/0.1856, allocations: 23.98 kB / 0.7045 GB, free: 7.926 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001616/0.1858, allocations: 67.36 kB / 0.7046 GB, free: 7.848 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.1859, allocations: 82.09 kB / 0.7046 GB, free: 7.762 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1859, allocations: 0 / 0.7046 GB, free: 7.762 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002202/0.1861, allocations: 113.5 kB / 0.7048 GB, free: 7.645 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.1861, allocations: 8 kB / 0.7048 GB, free: 7.637 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.932e-06/0.1861, allocations: 0 / 0.7048 GB, free: 7.637 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.1862, allocations: 0 / 0.7048 GB, free: 7.637 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.557e-05/0.1862, allocations: 15.92 kB / 0.7048 GB, free: 7.621 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.1862, allocations: 3.938 kB / 0.7048 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.631e-05/0.1863, allocations: 11.98 kB / 0.7048 GB, free: 7.605 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.1863, allocations: 4 kB / 0.7048 GB, free: 7.602 MB / 0.5137 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.0001385/0.1864, allocations: 142.5 kB / 0.7049 GB, free: 7.453 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.026e-05/0.1865, allocations: 15.89 kB / 0.705 GB, free: 7.438 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.372e-05/0.1865, allocations: 17.41 kB / 0.705 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/0.1865, allocations: 4 kB / 0.705 GB, free: 7.414 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.1865, allocations: 3.938 kB / 0.705 GB, free: 7.41 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.1865, allocations: 3.984 kB / 0.705 GB, free: 7.406 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002293/0.1868, allocations: 237.5 kB / 0.7052 GB, free: 7.125 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.1868, allocations: 0 / 0.7052 GB, free: 7.125 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.189e-05/0.1868, allocations: 4 kB / 0.7052 GB, free: 7.121 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1868, allocations: 0 / 0.7052 GB, free: 7.121 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.1868, allocations: 0 / 0.7052 GB, free: 7.121 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.1868, allocations: 0 / 0.7052 GB, free: 7.121 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.1868, allocations: 3.938 kB / 0.7052 GB, free: 7.117 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000246/0.1871, allocations: 148.9 kB / 0.7054 GB, free: 6.953 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.824e-05/0.1871, allocations: 93.02 kB / 0.7054 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.82e-05/0.1872, allocations: 3.984 kB / 0.7054 GB, free: 6.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.216e-05/0.1872, allocations: 8 kB / 0.7055 GB, free: 6.832 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.983e-05/0.1872, allocations: 7.938 kB / 0.7055 GB, free: 6.824 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.1873, allocations: 7.922 kB / 0.7055 GB, free: 6.816 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002082/0.1875, allocations: 203.5 kB / 0.7057 GB, free: 6.617 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1875, allocations: 0 / 0.7057 GB, free: 6.617 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002501/0.1877, allocations: 31.92 kB / 0.7057 GB, free: 6.586 MB / 0.5137 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.002041/0.1898, allocations: 0.9987 MB / 0.7067 GB, free: 5.75 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002376/0.19, allocations: 75.89 kB / 0.7067 GB, free: 5.676 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.19, allocations: 4 kB / 0.7067 GB, free: 5.672 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.509e-05/0.1901, allocations: 35.92 kB / 0.7068 GB, free: 5.637 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003128/0.1904, allocations: 45.5 kB / 0.7068 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002608/0.193, allocations: 1.984 MB / 0.7088 GB, free: 3.523 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003693/0.1934, allocations: 0.728 MB / 0.7095 GB, free: 2.77 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.615e-05/0.1934, allocations: 33.72 kB / 0.7095 GB, free: 2.734 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.932e-05/0.1935, allocations: 47.42 kB / 0.7095 GB, free: 2.688 MB / 0.5137 GB Notification: Performance of SimCode: time 2.7e-07/0.1935, allocations: 0 / 0.7095 GB, free: 2.688 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02256/0.2161, allocations: 4.668 MB / 0.7141 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.259/8.475, allocations: 8 kB / 0.7141 GB, free: 14.12 MB / 0.5294 GB " [Timeout remaining time 651] (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: 12.463838940951973] Failed to read output from testmodel.py, exit status != 0: 9.003655212989543 8.670419209 8.485611167 Calling exit ...