Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.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.001133/0.001133, allocations: 109.9 kB / 18.93 MB, free: 1.27 MB / 13.93 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.001438/0.001438, allocations: 213.8 kB / 22.25 MB, free: 3.711 MB / 13.93 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.032/1.032, allocations: 230.6 MB / 256 MB, free: 9.812 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8197/0.8197, allocations: 203.8 MB / 0.5042 GB, free: 10.72 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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.IntegerReplicator,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_IntegerReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.IntegerReplicator,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_IntegerReplicator",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.00076/0.00076, allocations: 71.03 kB / 0.7182 GB, free: 4.359 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5452/0.546, allocations: 102 MB / 0.8179 GB, free: 1.273 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.002631/0.5486, allocations: 1.824 MB / 0.8196 GB, free: 8 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001974/0.5506, allocations: 1.282 MB / 0.8209 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001223/0.5507, allocations: 5.469 kB / 0.8209 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004902/0.5512, allocations: 58.19 kB / 0.821 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003892/0.5516, allocations: 119.2 kB / 0.8211 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000459/0.552, allocations: 197.2 kB / 0.8213 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002622/0.5523, allocations: 160.3 kB / 0.8214 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001387/0.5524, allocations: 24.22 kB / 0.8214 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001179/0.5526, allocations: 68.77 kB / 0.8215 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001248/0.5527, allocations: 69.64 kB / 0.8216 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.971e-05/0.5527, allocations: 6.562 kB / 0.8216 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001792/0.5529, allocations: 89.55 kB / 0.8217 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000117/0.553, allocations: 43.72 kB / 0.8217 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.128e-05/0.5531, allocations: 58.7 kB / 0.8218 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003881/0.5535, allocations: 206.8 kB / 0.822 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/0.5535, allocations: 0 / 0.822 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.026e-06/0.5535, allocations: 3.25 kB / 0.822 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.218e-05/0.5535, allocations: 4 kB / 0.822 GB, free: 14.62 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000822/0.5543, allocations: 425.7 kB / 0.8224 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/0.5544, allocations: 11.38 kB / 0.8224 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.89e-05/0.5544, allocations: 37.86 kB / 0.8224 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.957e-05/0.5545, allocations: 19.48 kB / 0.8224 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000341/0.5548, allocations: 202 kB / 0.8226 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.5548, allocations: 7.984 kB / 0.8226 GB, free: 14 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.958e-05/0.5548, allocations: 11.12 kB / 0.8226 GB, free: 14 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002026/0.555, allocations: 92.48 kB / 0.8227 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.605e-06/0.555, allocations: 0 / 0.8227 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.5551, allocations: 3.672 kB / 0.8227 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.272e-05/0.5551, allocations: 3 kB / 0.8227 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.443e-05/0.5552, allocations: 36.62 kB / 0.8228 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004293/0.5556, allocations: 327.8 kB / 0.8231 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001674/0.5558, allocations: 89.56 kB / 0.8232 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.746e-05/0.5558, allocations: 29.97 kB / 0.8232 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/0.5558, allocations: 2.375 kB / 0.8232 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001524/0.556, allocations: 83.3 kB / 0.8233 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.556, allocations: 4 kB / 0.8233 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0002648/0.5562, allocations: 141.5 kB / 0.8234 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.305e-05/0.5563, allocations: 109.4 kB / 0.8235 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002306/0.5565, allocations: 278.8 kB / 0.8238 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.5565, allocations: 27.92 kB / 0.8238 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.544e-05/0.5566, allocations: 119.4 kB / 0.8239 GB, free: 13 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.726e-05/0.5566, allocations: 26.16 kB / 0.824 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.582e-05/0.5567, allocations: 29.8 kB / 0.824 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.883e-05/0.5568, allocations: 330.4 kB / 0.8243 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.312e-05/0.5568, allocations: 24.77 kB / 0.8243 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.378e-05/0.5569, allocations: 68.03 kB / 0.8244 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001042/0.557, allocations: 70.36 kB / 0.8245 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.557, allocations: 0 / 0.8245 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001549/0.5572, allocations: 118.4 kB / 0.8246 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.5572, allocations: 5.969 kB / 0.8246 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.5572, allocations: 0 / 0.8246 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.5572, allocations: 1.562 kB / 0.8246 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.515e-05/0.5573, allocations: 15.86 kB / 0.8246 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/0.5573, allocations: 4.969 kB / 0.8246 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.296e-05/0.5573, allocations: 15.94 kB / 0.8246 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.5573, allocations: 3.375 kB / 0.8246 GB, free: 12.46 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.intTab.combiTimeTable.nextTimeEvent,$whenCondition1,intRep.y[2],intRep.y[1],intTab.combiTimeTable.nextTimeEventScaled,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEvent,intTab.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.000116/0.5574, allocations: 146.3 kB / 0.8248 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.963e-05/0.5575, allocations: 15.33 kB / 0.8248 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002256/0.5577, allocations: 127.7 kB / 0.8249 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/0.5577, allocations: 1.875 kB / 0.8249 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.5577, allocations: 1.281 kB / 0.8249 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.5577, allocations: 4.875 kB / 0.8249 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001828/0.5579, allocations: 200.1 kB / 0.8251 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.5579, allocations: 0.5156 kB / 0.8251 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.951e-05/0.5579, allocations: 6.578 kB / 0.8251 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.5579, allocations: 4 kB / 0.8251 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.5579, allocations: 2.344 kB / 0.8251 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.5579, allocations: 1.25 kB / 0.8251 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.558, allocations: 0.7969 kB / 0.8251 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001694/0.5581, allocations: 146.9 kB / 0.8252 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.353e-05/0.5581, allocations: 19.95 kB / 0.8253 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.11e-05/0.5582, allocations: 6.438 kB / 0.8253 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.82e-05/0.5582, allocations: 16.19 kB / 0.8253 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.71e-05/0.5583, allocations: 18.69 kB / 0.8253 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.5583, allocations: 3.719 kB / 0.8253 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001661/0.5584, allocations: 195.9 kB / 0.8255 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5584, allocations: 0 / 0.8255 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001875/0.5586, allocations: 35 kB / 0.8255 GB, free: 11.8 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,intTab.y,intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled) * 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.00101/0.5596, allocations: 0.9839 MB / 0.8265 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001825/0.5598, allocations: 66.97 kB / 0.8265 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.5598, allocations: 1.125 kB / 0.8265 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.059e-05/0.5599, allocations: 36.36 kB / 0.8266 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002205/0.5601, allocations: 49.75 kB / 0.8266 GB, free: 11.06 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001713/0.5618, allocations: 1.988 MB / 0.8286 GB, free: 9.641 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002385/0.562, allocations: 0.7231 MB / 0.8293 GB, free: 8.941 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.806e-05/0.5621, allocations: 25.08 kB / 0.8293 GB, free: 8.938 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.117e-05/0.5622, allocations: 51.95 kB / 0.8294 GB, free: 8.902 MB / 0.6198 GB Notification: Performance of SimCode: time 5.11e-07/0.5622, allocations: 0 / 0.8294 GB, free: 8.902 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01885/0.581, allocations: 4.966 MB / 0.8342 GB, free: 7.949 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.548/7.129, allocations: 17.33 kB / 0.8342 GB, free: 7.938 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IDEAS_dev_IDEAS_Utilities_Math_Examples_IntegerReplicator.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.367010134039447] Failed to read output from testmodel.py, exit status != 0: 7.226852649124339 7.242012669 6.685696391 Calling exit ...