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.0007815/0.0007815, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008798/0.0008798, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8885/0.8885, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.7155/0.7155, allocations: 154.5 MB / 413.7 MB, free: 0.832 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 1.894e-06/1.894e-06, allocations: 0 / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.898e-05/2.087e-05, allocations: 6.219 kB / 0.6181 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.002587/0.002608, allocations: 1.783 MB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001363/0.00397, allocations: 1.184 MB / 0.621 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.555e-05/0.004056, allocations: 0 / 0.621 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0003222/0.004378, allocations: 67.55 kB / 0.621 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0003272/0.004705, allocations: 127.4 kB / 0.6211 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004058/0.005111, allocations: 194.6 kB / 0.6213 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.000203/0.005314, allocations: 163.5 kB / 0.6215 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.005436, allocations: 13.62 kB / 0.6215 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.005549, allocations: 91.67 kB / 0.6216 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.005655, allocations: 59.88 kB / 0.6216 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.001e-05/0.005675, allocations: 8 kB / 0.6216 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001411/0.005816, allocations: 79.86 kB / 0.6217 GB, free: 9.945 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 7.024e-05/0.005887, allocations: 47.83 kB / 0.6218 GB, free: 9.898 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.591e-05/0.005932, allocations: 31.86 kB / 0.6218 GB, free: 9.867 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002313/0.006164, allocations: 211.4 kB / 0.622 GB, free: 9.66 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.006166, allocations: 0 / 0.622 GB, free: 9.66 MB / 0.5886 GB Notification: Performance of FrontEnd: time 7.42e-07/0.006167, allocations: 0 / 0.622 GB, free: 9.66 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.006172, allocations: 0 / 0.622 GB, free: 9.66 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.0005071/0.006679, allocations: 438.8 kB / 0.6224 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.006715, allocations: 13.47 kB / 0.6224 GB, free: 9.184 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.674e-05/0.006742, allocations: 34.75 kB / 0.6225 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.656e-05/0.006778, allocations: 16.84 kB / 0.6225 GB, free: 9.125 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000231/0.007009, allocations: 197.4 kB / 0.6227 GB, free: 8.906 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.007023, allocations: 4.375 kB / 0.6227 GB, free: 8.902 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.007033, allocations: 4.375 kB / 0.6227 GB, free: 8.898 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.007193, allocations: 117.3 kB / 0.6228 GB, free: 8.766 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.565e-06/0.007201, allocations: 0 / 0.6228 GB, free: 8.766 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.007211, allocations: 7.984 kB / 0.6228 GB, free: 8.758 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.00722, allocations: 4 kB / 0.6228 GB, free: 8.754 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.735e-05/0.007287, allocations: 39.92 kB / 0.6228 GB, free: 8.715 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003855/0.007673, allocations: 327.7 kB / 0.6231 GB, free: 8.352 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001406/0.007813, allocations: 82.66 kB / 0.6232 GB, free: 8.262 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.253e-05/0.007856, allocations: 32.84 kB / 0.6233 GB, free: 8.227 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.317e-05/0.007869, allocations: 0 / 0.6233 GB, free: 8.227 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001285/0.007998, allocations: 83.41 kB / 0.6233 GB, free: 8.133 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.007999, allocations: 0 / 0.6233 GB, free: 8.133 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.0002356/0.008234, allocations: 141.5 kB / 0.6235 GB, free: 7.988 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/0.008269, allocations: 85.11 kB / 0.6236 GB, free: 7.887 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001773/0.008447, allocations: 263.3 kB / 0.6238 GB, free: 7.617 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.008462, allocations: 37.67 kB / 0.6238 GB, free: 7.574 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.844e-05/0.00852, allocations: 120.1 kB / 0.624 GB, free: 7.453 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.577e-05/0.008546, allocations: 19.84 kB / 0.624 GB, free: 7.434 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-05/0.00858, allocations: 25.7 kB / 0.624 GB, free: 7.402 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.047e-05/0.00866, allocations: 330.8 kB / 0.6243 GB, free: 7.07 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.378e-05/0.008704, allocations: 31.92 kB / 0.6243 GB, free: 7.039 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.804e-05/0.008772, allocations: 118.8 kB / 0.6245 GB, free: 6.898 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.398e-05/0.008856, allocations: 77.72 kB / 0.6245 GB, free: 6.816 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.008858, allocations: 0 / 0.6245 GB, free: 6.816 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001298/0.008988, allocations: 125.8 kB / 0.6247 GB, free: 6.688 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.008999, allocations: 4 kB / 0.6247 GB, free: 6.684 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.009004, allocations: 0 / 0.6247 GB, free: 6.684 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.009016, allocations: 4 kB / 0.6247 GB, free: 6.68 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.393e-05/0.009079, allocations: 15.98 kB / 0.6247 GB, free: 6.664 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.009085, allocations: 4 kB / 0.6247 GB, free: 6.66 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.367e-05/0.009119, allocations: 0 / 0.6247 GB, free: 6.66 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.009126, allocations: 4 kB / 0.6247 GB, free: 6.656 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.637e-05/0.009222, allocations: 159.7 kB / 0.6248 GB, free: 6.492 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.621e-05/0.009238, allocations: 15.91 kB / 0.6249 GB, free: 6.477 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001722/0.009411, allocations: 131.1 kB / 0.625 GB, free: 6.344 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.009416, allocations: 0 / 0.625 GB, free: 6.344 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.00942, allocations: 8.125 kB / 0.625 GB, free: 6.336 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.009424, allocations: 3.984 kB / 0.625 GB, free: 6.332 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001331/0.009557, allocations: 192.5 kB / 0.6252 GB, free: 6.102 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.009558, allocations: 0 / 0.6252 GB, free: 6.102 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.329e-05/0.009582, allocations: 4 kB / 0.6252 GB, free: 6.098 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.009584, allocations: 8 kB / 0.6252 GB, free: 6.09 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.009591, allocations: 0 / 0.6252 GB, free: 6.09 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.009593, allocations: 3.984 kB / 0.6252 GB, free: 6.086 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.009594, allocations: 0 / 0.6252 GB, free: 6.086 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001367/0.00973, allocations: 156.9 kB / 0.6253 GB, free: 5.914 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.933e-05/0.00975, allocations: 19.84 kB / 0.6254 GB, free: 5.895 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.009766, allocations: 0 / 0.6254 GB, free: 5.895 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.54e-05/0.009791, allocations: 8 kB / 0.6254 GB, free: 5.887 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.616e-05/0.009838, allocations: 7.984 kB / 0.6254 GB, free: 5.879 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/0.009848, allocations: 3.984 kB / 0.6254 GB, free: 5.875 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001217/0.00997, allocations: 208.6 kB / 0.6256 GB, free: 5.672 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.00997, allocations: 0 / 0.6256 GB, free: 5.672 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001665/0.01014, allocations: 39.92 kB / 0.6256 GB, free: 5.633 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.0009739/0.01111, allocations: 1.032 MB / 0.6266 GB, free: 4.781 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001564/0.01127, allocations: 67.91 kB / 0.6267 GB, free: 4.715 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01127, allocations: 0 / 0.6267 GB, free: 4.715 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.277e-05/0.01132, allocations: 39.97 kB / 0.6267 GB, free: 4.676 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001884/0.01151, allocations: 39.86 kB / 0.6268 GB, free: 4.645 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001753/0.01326, allocations: 2.008 MB / 0.6287 GB, free: 2.547 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.272e-05/0.01334, allocations: 114.8 kB / 0.6288 GB, free: 2.418 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.651e-05/0.01339, allocations: 29.78 kB / 0.6289 GB, free: 2.383 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.16e-05/0.01346, allocations: 48.48 kB / 0.6289 GB, free: 2.336 MB / 0.5886 GB Notification: Performance of SimCode: time 5.61e-07/0.01346, allocations: 0 / 0.6289 GB, free: 2.336 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01986/0.03332, allocations: 5.63 MB / 0.6344 GB, free: 12.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.123/7.156, allocations: 6.234 kB / 0.6344 GB, free: 12.8 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 & /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: 9.85366936493665] Failed to read output from testmodel.py, exit status != 0: 7.255286443978548 7.266878106 7.25891193 Calling exit ...