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.0008232/0.0008232, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.0008726/0.0008726, allocations: 209.2 kB / 22.24 MB, free: 3.57 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.008/1.008, allocations: 230.6 MB / 256 MB, free: 9.594 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.8303/0.8303, allocations: 203.8 MB / 0.5042 GB, free: 10.4 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.001431/0.001431, allocations: 62.22 kB / 0.7182 GB, free: 4.039 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5463/0.5477, allocations: 102 MB / 0.8178 GB, free: 1.02 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.00237/0.5501, allocations: 1.767 MB / 0.8195 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001466/0.5515, allocations: 1.208 MB / 0.8207 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.419e-05/0.5516, allocations: 0 / 0.8207 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003124/0.5519, allocations: 58.23 kB / 0.8208 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003036/0.5522, allocations: 122.7 kB / 0.8209 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000425/0.5527, allocations: 202 kB / 0.8211 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001934/0.5529, allocations: 155.9 kB / 0.8212 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.553, allocations: 22 kB / 0.8212 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.173e-05/0.553, allocations: 68.73 kB / 0.8213 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.5531, allocations: 63.56 kB / 0.8214 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.5532, allocations: 7.812 kB / 0.8214 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001391/0.5533, allocations: 86.7 kB / 0.8215 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.212e-05/0.5534, allocations: 42.03 kB / 0.8215 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.323e-05/0.5534, allocations: 47.86 kB / 0.8215 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002612/0.5537, allocations: 211.3 kB / 0.8217 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.5537, allocations: 0 / 0.8217 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.054e-06/0.5537, allocations: 0 / 0.8217 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.5537, allocations: 0 / 0.8217 GB, free: 14.55 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.0005201/0.5542, allocations: 429.3 kB / 0.8222 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.5543, allocations: 8.781 kB / 0.8222 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.939e-05/0.5543, allocations: 32.16 kB / 0.8222 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.261e-05/0.5543, allocations: 29.89 kB / 0.8222 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002818/0.5546, allocations: 200.4 kB / 0.8224 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.5546, allocations: 7.938 kB / 0.8224 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.236e-05/0.5546, allocations: 6.844 kB / 0.8224 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.5548, allocations: 114.9 kB / 0.8225 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.5548, allocations: 0 / 0.8225 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.5548, allocations: 0.5625 kB / 0.8225 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/0.5548, allocations: 3.766 kB / 0.8225 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.882e-05/0.5549, allocations: 36.17 kB / 0.8226 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004064/0.5553, allocations: 316.3 kB / 0.8229 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001701/0.5555, allocations: 92.06 kB / 0.823 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.824e-05/0.5555, allocations: 34.61 kB / 0.823 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.5556, allocations: 6.359 kB / 0.823 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001461/0.5557, allocations: 81.05 kB / 0.8231 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.393e-06/0.5557, allocations: 0 / 0.8231 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0002601/0.556, allocations: 148.7 kB / 0.8232 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/0.556, allocations: 83.2 kB / 0.8233 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002298/0.5562, allocations: 279.2 kB / 0.8236 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.5563, allocations: 26.98 kB / 0.8236 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.836e-05/0.5563, allocations: 121.5 kB / 0.8237 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.525e-05/0.5564, allocations: 28.53 kB / 0.8237 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.356e-05/0.5564, allocations: 25.17 kB / 0.8238 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.896e-05/0.5565, allocations: 330.8 kB / 0.8241 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.33e-05/0.5565, allocations: 25.84 kB / 0.8241 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.396e-05/0.5566, allocations: 115.3 kB / 0.8242 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001016/0.5567, allocations: 81.16 kB / 0.8243 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.5567, allocations: 0 / 0.8243 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001444/0.5569, allocations: 115 kB / 0.8244 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.5569, allocations: 9.375 kB / 0.8244 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.5569, allocations: 1.797 kB / 0.8244 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.5569, allocations: 1.156 kB / 0.8244 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.172e-05/0.557, allocations: 16.5 kB / 0.8244 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.557, allocations: 1.375 kB / 0.8244 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.07e-05/0.557, allocations: 12.14 kB / 0.8244 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.557, allocations: 2.641 kB / 0.8244 GB, free: 12.34 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 9.778e-05/0.5571, allocations: 143.1 kB / 0.8246 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.863e-05/0.5571, allocations: 14.44 kB / 0.8246 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002109/0.5574, allocations: 137.4 kB / 0.8247 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.5574, allocations: 1.156 kB / 0.8247 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.5574, allocations: 2.594 kB / 0.8247 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.5574, allocations: 3.938 kB / 0.8247 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001512/0.5575, allocations: 185 kB / 0.8249 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.5575, allocations: 0 / 0.8249 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.227e-05/0.5576, allocations: 11.78 kB / 0.8249 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.5576, allocations: 5.172 kB / 0.8249 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/0.5576, allocations: 6.172 kB / 0.8249 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.5576, allocations: 1.188 kB / 0.8249 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.5576, allocations: 4.797 kB / 0.8249 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001585/0.5577, allocations: 156.6 kB / 0.8251 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.435e-05/0.5578, allocations: 24.39 kB / 0.8251 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/0.5578, allocations: 2.156 kB / 0.8251 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.87e-05/0.5578, allocations: 2.578 kB / 0.8251 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.727e-05/0.5578, allocations: 16.17 kB / 0.8251 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.5579, allocations: 3.625 kB / 0.8251 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000143/0.558, allocations: 201.8 kB / 0.8253 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.558, allocations: 3.938 kB / 0.8253 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001884/0.5582, allocations: 36.12 kB / 0.8254 GB, free: 11.69 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 (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.00104/0.5592, allocations: 1.022 MB / 0.8264 GB, free: 10.99 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00017/0.5594, allocations: 74.39 kB / 0.8264 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.5594, allocations: 0 / 0.8264 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.007e-05/0.5595, allocations: 39.25 kB / 0.8265 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002032/0.5597, allocations: 45.88 kB / 0.8265 GB, free: 10.94 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00166/0.5613, allocations: 1.994 MB / 0.8285 GB, free: 9.523 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.552e-05/0.5614, allocations: 111.7 kB / 0.8286 GB, free: 9.445 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.692e-05/0.5615, allocations: 24.52 kB / 0.8286 GB, free: 9.441 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.264e-05/0.5615, allocations: 51.47 kB / 0.8286 GB, free: 9.406 MB / 0.6198 GB Notification: Performance of SimCode: time 3e-07/0.5615, allocations: 1.219 kB / 0.8286 GB, free: 9.406 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02208/0.5836, allocations: 5.506 MB / 0.834 GB, free: 7.934 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.503/7.086, allocations: 9.266 kB / 0.834 GB, free: 7.926 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.326059811748564] Failed to read output from testmodel.py, exit status != 0: 7.187853494193405 7.200541936 6.644755653 Calling exit ...