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.0008525/0.0008525, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008554/0.0008554, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8764/0.8764, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.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.7284/0.7284, allocations: 154.5 MB / 413.7 MB, free: 0.8242 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 2.896e-06/2.896e-06, allocations: 4 kB / 0.618 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.408e-05/2.697e-05, allocations: 4.953 kB / 0.6181 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.002493/0.00252, allocations: 1.771 MB / 0.6198 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001546/0.004065, allocations: 1.196 MB / 0.6209 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.898e-05/0.004154, allocations: 4 kB / 0.621 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0003185/0.004473, allocations: 59.61 kB / 0.621 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002907/0.004763, allocations: 119.5 kB / 0.6211 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004158/0.005179, allocations: 202.9 kB / 0.6213 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002547/0.005434, allocations: 163.5 kB / 0.6215 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.005536, allocations: 13.64 kB / 0.6215 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.005648, allocations: 91.73 kB / 0.6216 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.00575, allocations: 55.86 kB / 0.6216 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.834e-05/0.005769, allocations: 8 kB / 0.6216 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001341/0.005903, allocations: 83.86 kB / 0.6217 GB, free: 9.969 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 6.241e-05/0.005965, allocations: 39.84 kB / 0.6218 GB, free: 9.93 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.617e-05/0.006011, allocations: 39.86 kB / 0.6218 GB, free: 9.891 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002505/0.006262, allocations: 215.3 kB / 0.622 GB, free: 9.68 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.006264, allocations: 0 / 0.622 GB, free: 9.68 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.182e-06/0.006265, allocations: 0 / 0.622 GB, free: 9.68 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.00627, allocations: 0 / 0.622 GB, free: 9.68 MB / 0.5886 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.0005475/0.006817, allocations: 426.9 kB / 0.6224 GB, free: 9.227 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.006856, allocations: 9.469 kB / 0.6224 GB, free: 9.219 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3e-05/0.006886, allocations: 38.73 kB / 0.6224 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.834e-05/0.006924, allocations: 16.84 kB / 0.6225 GB, free: 9.156 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002486/0.007173, allocations: 205.3 kB / 0.6227 GB, free: 8.93 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.007188, allocations: 4.375 kB / 0.6227 GB, free: 8.926 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.118e-05/0.007199, allocations: 4.375 kB / 0.6227 GB, free: 8.922 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002448/0.007444, allocations: 121.3 kB / 0.6228 GB, free: 8.785 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.007451, allocations: 0 / 0.6228 GB, free: 8.785 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.007462, allocations: 0 / 0.6228 GB, free: 8.785 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.007472, allocations: 4 kB / 0.6228 GB, free: 8.781 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.308e-05/0.007545, allocations: 39.91 kB / 0.6228 GB, free: 8.742 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000519/0.008064, allocations: 319.8 kB / 0.6231 GB, free: 8.387 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001444/0.008208, allocations: 90.66 kB / 0.6232 GB, free: 8.289 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.479e-05/0.008253, allocations: 28.84 kB / 0.6232 GB, free: 8.258 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.378e-05/0.008267, allocations: 4.094 kB / 0.6232 GB, free: 8.254 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001358/0.008403, allocations: 83.31 kB / 0.6233 GB, free: 8.16 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=8): time 1.243e-06/0.008404, allocations: 0 / 0.6233 GB, free: 8.16 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.0002448/0.008649, allocations: 141.5 kB / 0.6235 GB, free: 8.016 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.008688, allocations: 77.11 kB / 0.6235 GB, free: 7.922 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001978/0.008885, allocations: 271.2 kB / 0.6238 GB, free: 7.645 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.0089, allocations: 33.64 kB / 0.6238 GB, free: 7.605 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.241e-05/0.008963, allocations: 124.1 kB / 0.6239 GB, free: 7.48 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.402e-05/0.008987, allocations: 31.75 kB / 0.624 GB, free: 7.449 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.39e-05/0.009021, allocations: 25.72 kB / 0.624 GB, free: 7.418 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.125e-05/0.009102, allocations: 330.8 kB / 0.6243 GB, free: 7.086 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.541e-05/0.009147, allocations: 31.98 kB / 0.6243 GB, free: 7.055 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.111e-05/0.009218, allocations: 110.8 kB / 0.6245 GB, free: 6.922 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.35e-05/0.009312, allocations: 69.7 kB / 0.6245 GB, free: 6.848 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.009314, allocations: 4 kB / 0.6245 GB, free: 6.844 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001333/0.009447, allocations: 129.8 kB / 0.6246 GB, free: 6.711 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.009459, allocations: 4 kB / 0.6247 GB, free: 6.707 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.009465, allocations: 0 / 0.6247 GB, free: 6.707 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.009475, allocations: 0 / 0.6247 GB, free: 6.707 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.232e-05/0.009537, allocations: 12 kB / 0.6247 GB, free: 6.695 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.009542, allocations: 3.938 kB / 0.6247 GB, free: 6.691 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.921e-05/0.009581, allocations: 7.984 kB / 0.6247 GB, free: 6.684 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.009589, allocations: 7.984 kB / 0.6247 GB, free: 6.676 MB / 0.5886 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.742e-05/0.009687, allocations: 147.7 kB / 0.6248 GB, free: 6.523 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.758e-05/0.009704, allocations: 15.91 kB / 0.6248 GB, free: 6.508 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001799/0.009884, allocations: 139.1 kB / 0.625 GB, free: 6.367 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.00989, allocations: 0 / 0.625 GB, free: 6.367 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.009893, allocations: 192 / 0.625 GB, free: 6.367 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.009897, allocations: 0 / 0.625 GB, free: 6.367 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001349/0.01003, allocations: 192.5 kB / 0.6252 GB, free: 6.137 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.01003, allocations: 4 kB / 0.6252 GB, free: 6.133 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.477e-05/0.01006, allocations: 7.984 kB / 0.6252 GB, free: 6.125 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.624e-06/0.01006, allocations: 0 / 0.6252 GB, free: 6.125 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.405e-06/0.01007, allocations: 4 kB / 0.6252 GB, free: 6.121 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.01007, allocations: 0 / 0.6252 GB, free: 6.121 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.01007, allocations: 4 kB / 0.6252 GB, free: 6.117 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000142/0.01021, allocations: 156.9 kB / 0.6253 GB, free: 5.945 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.004e-05/0.01024, allocations: 27.83 kB / 0.6253 GB, free: 5.918 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/0.01026, allocations: 7.938 kB / 0.6254 GB, free: 5.91 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.494e-05/0.01028, allocations: 0 / 0.6254 GB, free: 5.91 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.241e-05/0.01033, allocations: 11.98 kB / 0.6254 GB, free: 5.898 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.01034, allocations: 7.984 kB / 0.6254 GB, free: 5.891 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001615/0.0105, allocations: 208.6 kB / 0.6256 GB, free: 5.688 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.6e-07/0.0105, allocations: 0 / 0.6256 GB, free: 5.688 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001845/0.01068, allocations: 31.94 kB / 0.6256 GB, free: 5.656 MB / 0.5886 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.001072/0.01175, allocations: 1.04 MB / 0.6266 GB, free: 4.801 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001612/0.01192, allocations: 67.91 kB / 0.6267 GB, free: 4.734 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01192, allocations: 0 / 0.6267 GB, free: 4.734 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.28e-05/0.01197, allocations: 35.98 kB / 0.6267 GB, free: 4.699 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001955/0.01217, allocations: 43.05 kB / 0.6268 GB, free: 4.664 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001654/0.01382, allocations: 2.011 MB / 0.6287 GB, free: 2.562 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.187e-05/0.01389, allocations: 106.8 kB / 0.6288 GB, free: 2.441 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.9e-05/0.01395, allocations: 29.77 kB / 0.6289 GB, free: 2.406 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001464/0.0141, allocations: 52.48 kB / 0.6289 GB, free: 2.355 MB / 0.5886 GB Notification: Performance of SimCode: time 9.61e-07/0.0141, allocations: 0 / 0.6289 GB, free: 2.355 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02351/0.03761, allocations: 5.621 MB / 0.6344 GB, free: 12.83 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.324/7.362, allocations: 20.97 kB / 0.6344 GB, free: 12.82 MB / 0.6042 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.14429338555783] Failed to read output from testmodel.py, exit status != 0: 7.461829798296094 7.473258245 7.465332264 Calling exit ...