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.0007861/0.0007861, 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.0008556/0.0008556, allocations: 223.7 kB / 22.26 MB, free: 3.703 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 0.9819/0.9819, allocations: 230.6 MB / 256 MB, free: 9.805 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.813/0.813, allocations: 203.8 MB / 0.5042 GB, free: 10.77 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.0009317/0.0009317, allocations: 61.81 kB / 0.7182 GB, free: 4.359 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5671/0.568, allocations: 102 MB / 0.8179 GB, free: 1.27 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.002646/0.5707, allocations: 1.828 MB / 0.8196 GB, free: 0 / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001635/0.5723, allocations: 1.286 MB / 0.8209 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.436e-05/0.5724, allocations: 2 kB / 0.8209 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003403/0.5727, allocations: 59.14 kB / 0.821 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000323/0.5731, allocations: 121.6 kB / 0.8211 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005577/0.5736, allocations: 199.9 kB / 0.8213 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002382/0.5739, allocations: 158.9 kB / 0.8214 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.574, allocations: 22.22 kB / 0.8214 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001222/0.5741, allocations: 69.52 kB / 0.8215 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001191/0.5742, allocations: 71.33 kB / 0.8216 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.5742, allocations: 8.281 kB / 0.8216 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000175/0.5744, allocations: 85.72 kB / 0.8217 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.726e-05/0.5745, allocations: 38 kB / 0.8217 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.186e-05/0.5746, allocations: 59.81 kB / 0.8218 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002862/0.5749, allocations: 211 kB / 0.822 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.5749, allocations: 4.656 kB / 0.822 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.714e-06/0.5749, allocations: 1.531 kB / 0.822 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.5749, allocations: 0 / 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.0006165/0.5755, allocations: 431.5 kB / 0.8224 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.5755, allocations: 9.156 kB / 0.8224 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.208e-05/0.5756, allocations: 34.92 kB / 0.8224 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.311e-05/0.5756, allocations: 21.5 kB / 0.8224 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003487/0.576, allocations: 201.8 kB / 0.8226 GB, free: 14 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.576, allocations: 6.875 kB / 0.8226 GB, free: 14 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.847e-05/0.576, allocations: 11 kB / 0.8226 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002085/0.5762, allocations: 89.62 kB / 0.8227 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.5762, allocations: 0 / 0.8227 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.5762, allocations: 5.062 kB / 0.8227 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.034e-05/0.5763, allocations: 3.219 kB / 0.8227 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.098e-05/0.5764, allocations: 34.67 kB / 0.8228 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005165/0.5769, allocations: 327.4 kB / 0.8231 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/0.577, allocations: 86.44 kB / 0.8232 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.6e-05/0.5771, allocations: 31.2 kB / 0.8232 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.765e-05/0.5771, allocations: 1.156 kB / 0.8232 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001652/0.5773, allocations: 88.89 kB / 0.8233 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.783e-06/0.5773, allocations: 3.938 kB / 0.8233 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0002965/0.5776, allocations: 135.6 kB / 0.8234 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.856e-05/0.5777, allocations: 110.7 kB / 0.8235 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002841/0.5779, allocations: 274.5 kB / 0.8238 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.351e-05/0.578, allocations: 28.41 kB / 0.8238 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.683e-05/0.578, allocations: 125.1 kB / 0.8239 GB, free: 13 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.257e-05/0.5781, allocations: 23.89 kB / 0.824 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.365e-05/0.5781, allocations: 34.17 kB / 0.824 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.5783, allocations: 329.3 kB / 0.8243 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.123e-05/0.5783, allocations: 26.55 kB / 0.8243 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.087e-05/0.5784, allocations: 67.16 kB / 0.8244 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001181/0.5785, allocations: 75.33 kB / 0.8245 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.5785, allocations: 0 / 0.8245 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001795/0.5787, allocations: 114.6 kB / 0.8246 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.5787, allocations: 7.594 kB / 0.8246 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.5787, allocations: 0 / 0.8246 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.5788, allocations: 1.938 kB / 0.8246 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.761e-05/0.5788, allocations: 21.44 kB / 0.8246 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.5789, allocations: 0 / 0.8246 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.914e-05/0.5789, allocations: 17.08 kB / 0.8246 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.128e-06/0.5789, allocations: 3.281 kB / 0.8246 GB, free: 12.45 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.0001322/0.579, allocations: 141.6 kB / 0.8248 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.095e-05/0.5791, allocations: 16.83 kB / 0.8248 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002304/0.5793, allocations: 126.5 kB / 0.8249 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/0.5793, allocations: 2.109 kB / 0.8249 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.5793, allocations: 1.531 kB / 0.8249 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.5793, allocations: 4.734 kB / 0.8249 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000171/0.5795, allocations: 199.5 kB / 0.8251 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.5795, allocations: 1.109 kB / 0.8251 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.978e-05/0.5795, allocations: 9.906 kB / 0.8251 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.5795, allocations: 1.125 kB / 0.8251 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.5795, allocations: 2.5 kB / 0.8251 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.5795, allocations: 0 / 0.8251 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.5795, allocations: 1.312 kB / 0.8251 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001634/0.5797, allocations: 150.3 kB / 0.8252 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.264e-05/0.5797, allocations: 20.44 kB / 0.8253 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.5797, allocations: 2.031 kB / 0.8253 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.743e-05/0.5798, allocations: 8.156 kB / 0.8253 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.264e-05/0.5798, allocations: 22.05 kB / 0.8253 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.5798, allocations: 3.953 kB / 0.8253 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001465/0.58, allocations: 200.2 kB / 0.8255 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.58, allocations: 0 / 0.8255 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001854/0.5802, allocations: 35.25 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.001151/0.5813, allocations: 0.9806 MB / 0.8265 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002206/0.5815, allocations: 70.61 kB / 0.8266 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.5815, allocations: 1.406 kB / 0.8266 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.185e-05/0.5816, allocations: 35.73 kB / 0.8266 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002331/0.5818, allocations: 51.5 kB / 0.8266 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001732/0.5836, allocations: 1.986 MB / 0.8286 GB, free: 9.637 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004979/0.5841, allocations: 0.7232 MB / 0.8293 GB, free: 8.938 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.846e-05/0.5841, allocations: 23.22 kB / 0.8293 GB, free: 8.934 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.887e-05/0.5842, allocations: 52.31 kB / 0.8294 GB, free: 8.898 MB / 0.6198 GB Notification: Performance of SimCode: time 6.41e-07/0.5842, allocations: 0 / 0.8294 GB, free: 8.898 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02534/0.6096, allocations: 4.968 MB / 0.8342 GB, free: 7.941 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.686/7.296, allocations: 12.56 kB / 0.8342 GB, free: 7.934 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_IntegerReplicator_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 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.328948830952868] Failed to read output from testmodel.py, exit status != 0: 7.393403640016913 7.403990433 6.827089256 Calling exit ...