Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008409/0.0008409, 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.0008898/0.0008898, 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.8873/0.8873, allocations: 177.1 MB / 202.8 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.706/0.706, allocations: 154.6 MB / 413.8 MB, free: 0.793 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS_Utilities_Math_Examples_IntegerReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.IntegerReplicator,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_IntegerReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.017e-06/4.017e-06, allocations: 4 kB / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.216e-05/2.618e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.00291/0.002936, allocations: 1.776 MB / 0.6198 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001284/0.00422, allocations: 1.204 MB / 0.621 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.601e-05/0.004296, allocations: 4 kB / 0.621 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0002744/0.004571, allocations: 55.67 kB / 0.6211 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0003114/0.004882, allocations: 123.4 kB / 0.6212 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004602/0.005342, allocations: 197 kB / 0.6214 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002077/0.00555, allocations: 163.5 kB / 0.6215 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.005659, allocations: 17.58 kB / 0.6215 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/0.005776, allocations: 95.67 kB / 0.6216 GB, free: 10 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 9.953e-05/0.005876, allocations: 59.86 kB / 0.6217 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.005894, allocations: 8 kB / 0.6217 GB, free: 9.934 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001523/0.006046, allocations: 75.92 kB / 0.6218 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 7.251e-05/0.006119, allocations: 39.84 kB / 0.6218 GB, free: 9.82 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.521e-05/0.006174, allocations: 39.86 kB / 0.6219 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002731/0.006447, allocations: 215.3 kB / 0.6221 GB, free: 9.57 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.006451, allocations: 0 / 0.6221 GB, free: 9.57 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.473e-06/0.006452, allocations: 7.938 kB / 0.6221 GB, free: 9.562 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.92e-06/0.006457, allocations: 0 / 0.6221 GB, free: 9.562 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.0005284/0.006986, allocations: 426.9 kB / 0.6225 GB, free: 9.109 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.007022, allocations: 8.031 kB / 0.6225 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.845e-05/0.00705, allocations: 38.73 kB / 0.6225 GB, free: 9.055 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.881e-05/0.007089, allocations: 16.84 kB / 0.6225 GB, free: 9.039 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002667/0.007356, allocations: 189.4 kB / 0.6227 GB, free: 8.828 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.007368, allocations: 4.375 kB / 0.6227 GB, free: 8.824 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/0.007381, allocations: 12.36 kB / 0.6227 GB, free: 8.812 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.007541, allocations: 125.3 kB / 0.6229 GB, free: 8.672 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.007548, allocations: 0 / 0.6229 GB, free: 8.672 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.507e-06/0.007558, allocations: 0 / 0.6229 GB, free: 8.672 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.007567, allocations: 4 kB / 0.6229 GB, free: 8.668 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.648e-05/0.007633, allocations: 35.97 kB / 0.6229 GB, free: 8.633 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003693/0.008003, allocations: 323.7 kB / 0.6232 GB, free: 8.273 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001412/0.008144, allocations: 90.64 kB / 0.6233 GB, free: 8.176 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.493e-05/0.008189, allocations: 28.84 kB / 0.6233 GB, free: 8.145 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.008205, allocations: 8 kB / 0.6233 GB, free: 8.137 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001366/0.008342, allocations: 83.41 kB / 0.6234 GB, free: 8.043 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.008343, allocations: 0 / 0.6234 GB, free: 8.043 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.000259/0.008602, allocations: 145.5 kB / 0.6235 GB, free: 7.895 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/0.00864, allocations: 77.11 kB / 0.6236 GB, free: 7.801 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001932/0.008833, allocations: 273.8 kB / 0.6239 GB, free: 7.527 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.008849, allocations: 33.7 kB / 0.6239 GB, free: 7.488 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.333e-05/0.008912, allocations: 120.1 kB / 0.624 GB, free: 7.367 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.338e-05/0.008936, allocations: 15.89 kB / 0.624 GB, free: 7.352 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.296e-05/0.008979, allocations: 33.59 kB / 0.6241 GB, free: 7.312 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.779e-05/0.009066, allocations: 334.8 kB / 0.6244 GB, free: 6.977 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.668e-05/0.009113, allocations: 31.98 kB / 0.6244 GB, free: 6.945 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.782e-05/0.009191, allocations: 114.8 kB / 0.6245 GB, free: 6.809 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.941e-05/0.00928, allocations: 65.7 kB / 0.6246 GB, free: 6.738 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.009283, allocations: 4 kB / 0.6246 GB, free: 6.734 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001387/0.009421, allocations: 117.5 kB / 0.6247 GB, free: 6.613 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.009435, allocations: 7.984 kB / 0.6247 GB, free: 6.605 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.009442, allocations: 0 / 0.6247 GB, free: 6.605 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.009456, allocations: 0 / 0.6247 GB, free: 6.605 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.164e-05/0.009528, allocations: 16.06 kB / 0.6247 GB, free: 6.59 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.009533, allocations: 3.938 kB / 0.6247 GB, free: 6.586 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.956e-05/0.009573, allocations: 15.88 kB / 0.6247 GB, free: 6.57 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.764e-06/0.009581, allocations: 8 kB / 0.6248 GB, free: 6.562 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.335e-05/0.009674, allocations: 143.7 kB / 0.6249 GB, free: 6.414 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.644e-05/0.00969, allocations: 15.91 kB / 0.6249 GB, free: 6.398 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001786/0.009869, allocations: 139.6 kB / 0.625 GB, free: 6.258 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/0.009874, allocations: 0 / 0.625 GB, free: 6.258 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.009878, allocations: 0 / 0.625 GB, free: 6.258 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.009882, allocations: 4 kB / 0.625 GB, free: 6.254 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001268/0.01001, allocations: 188.6 kB / 0.6252 GB, free: 6.027 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.01001, allocations: 4 kB / 0.6252 GB, free: 6.023 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.445e-05/0.01003, allocations: 7.984 kB / 0.6252 GB, free: 6.016 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.01004, allocations: 0 / 0.6252 GB, free: 6.016 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.01005, allocations: 11.98 kB / 0.6252 GB, free: 6.004 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.01005, allocations: 0 / 0.6252 GB, free: 6.004 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01005, allocations: 0 / 0.6252 GB, free: 6.004 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001444/0.01019, allocations: 148.9 kB / 0.6254 GB, free: 5.84 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.898e-05/0.01021, allocations: 15.91 kB / 0.6254 GB, free: 5.824 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.73e-05/0.01023, allocations: 7.984 kB / 0.6254 GB, free: 5.816 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.366e-05/0.01025, allocations: 4 kB / 0.6254 GB, free: 5.812 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.173e-05/0.01029, allocations: 11.98 kB / 0.6254 GB, free: 5.801 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.01031, allocations: 4 kB / 0.6254 GB, free: 5.797 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001233/0.01043, allocations: 207.5 kB / 0.6256 GB, free: 5.594 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.01043, allocations: 0 / 0.6256 GB, free: 5.594 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001736/0.0106, allocations: 31.94 kB / 0.6257 GB, free: 5.562 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.001023/0.01163, allocations: 1.045 MB / 0.6267 GB, free: 4.699 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001597/0.01179, allocations: 75.91 kB / 0.6268 GB, free: 4.625 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01179, allocations: 0 / 0.6268 GB, free: 4.625 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.859e-05/0.01184, allocations: 31.98 kB / 0.6268 GB, free: 4.594 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001923/0.01203, allocations: 44.05 kB / 0.6268 GB, free: 4.559 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001505/0.01353, allocations: 2.003 MB / 0.6288 GB, free: 2.465 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.777e-05/0.0136, allocations: 114.8 kB / 0.6289 GB, free: 2.336 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.888e-05/0.01366, allocations: 33.7 kB / 0.6289 GB, free: 2.301 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.632e-05/0.01373, allocations: 56.47 kB / 0.629 GB, free: 2.246 MB / 0.5886 GB Notification: Performance of SimCode: time 5.01e-07/0.01373, allocations: 3.938 kB / 0.629 GB, free: 2.242 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01758/0.03131, allocations: 5.619 MB / 0.6345 GB, free: 12.73 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.044/7.075, allocations: 4.062 kB / 0.6345 GB, free: 12.73 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_IntegerReplicator_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_IntegerReplicator.fmu > IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.738126049749553] Failed to read output from testmodel.py, exit status != 0: 7.175135210156441 7.183214762 7.174958559 Calling exit ...