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.0007634/0.0007634, allocations: 105.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.0008183/0.0008183, allocations: 206.6 kB / 22.24 MB, free: 3.582 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.9647/0.9647, allocations: 230.6 MB / 256 MB, free: 9.609 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.8035/0.8035, allocations: 203.8 MB / 0.5042 GB, free: 10.43 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.001033/0.001033, allocations: 68.12 kB / 0.7182 GB, free: 4.051 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5296/0.5306, allocations: 102 MB / 0.8178 GB, free: 1.047 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.002948/0.5336, allocations: 1.783 MB / 0.8195 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001438/0.535, allocations: 1.199 MB / 0.8207 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.956e-05/0.5351, allocations: 5.125 kB / 0.8207 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000325/0.5354, allocations: 56.92 kB / 0.8208 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003707/0.5358, allocations: 120.8 kB / 0.8209 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005419/0.5364, allocations: 199.5 kB / 0.8211 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000221/0.5366, allocations: 152.8 kB / 0.8212 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.5367, allocations: 26.44 kB / 0.8212 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.281e-05/0.5368, allocations: 67.52 kB / 0.8213 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.5369, allocations: 68.78 kB / 0.8214 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.5369, allocations: 7.906 kB / 0.8214 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001671/0.5371, allocations: 82.2 kB / 0.8215 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.809e-05/0.5371, allocations: 46.98 kB / 0.8215 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.902e-05/0.5372, allocations: 39.03 kB / 0.8215 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000279/0.5375, allocations: 208.6 kB / 0.8217 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.5375, allocations: 0.7031 kB / 0.8217 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.154e-06/0.5375, allocations: 0.9688 kB / 0.8217 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.181e-06/0.5375, allocations: 4 kB / 0.8217 GB, free: 14.57 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.0005609/0.538, allocations: 431.7 kB / 0.8222 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.5381, allocations: 9.344 kB / 0.8222 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.465e-05/0.5381, allocations: 38.39 kB / 0.8222 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.795e-05/0.5382, allocations: 21.92 kB / 0.8222 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002867/0.5385, allocations: 200.2 kB / 0.8224 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.5385, allocations: 4.812 kB / 0.8224 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/0.5385, allocations: 6.875 kB / 0.8224 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001931/0.5387, allocations: 114 kB / 0.8225 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.5387, allocations: 0 / 0.8225 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.5387, allocations: 6.047 kB / 0.8225 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.5387, allocations: 3.094 kB / 0.8225 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.559e-05/0.5388, allocations: 40.17 kB / 0.8226 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004094/0.5392, allocations: 312.3 kB / 0.8229 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001577/0.5394, allocations: 91.95 kB / 0.823 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.263e-05/0.5394, allocations: 33.08 kB / 0.823 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.481e-05/0.5394, allocations: 5.281 kB / 0.823 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001341/0.5396, allocations: 74.77 kB / 0.8231 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.293e-06/0.5396, allocations: 4 kB / 0.8231 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0002749/0.5398, allocations: 149.4 kB / 0.8232 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/0.5399, allocations: 82.58 kB / 0.8233 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002273/0.5401, allocations: 278.3 kB / 0.8236 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.5401, allocations: 31.39 kB / 0.8236 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.346e-05/0.5402, allocations: 122.3 kB / 0.8237 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.651e-05/0.5402, allocations: 20.84 kB / 0.8237 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.186e-05/0.5403, allocations: 28.34 kB / 0.8238 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.472e-05/0.5403, allocations: 331.1 kB / 0.8241 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.433e-05/0.5404, allocations: 25.66 kB / 0.8241 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.186e-05/0.5405, allocations: 120 kB / 0.8242 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.7e-05/0.5406, allocations: 72.02 kB / 0.8243 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.5406, allocations: 1.281 kB / 0.8243 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001534/0.5407, allocations: 115.2 kB / 0.8244 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.5408, allocations: 9.219 kB / 0.8244 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.5408, allocations: 5 kB / 0.8244 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.5408, allocations: 2.422 kB / 0.8244 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.88e-05/0.5408, allocations: 15.84 kB / 0.8244 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.5408, allocations: 6.906 kB / 0.8244 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.139e-05/0.5409, allocations: 10.64 kB / 0.8244 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.5409, allocations: 7.203 kB / 0.8244 GB, free: 12.36 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.705e-05/0.541, allocations: 137.8 kB / 0.8246 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.899e-05/0.541, allocations: 16.08 kB / 0.8246 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002004/0.5412, allocations: 132.1 kB / 0.8247 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.5412, allocations: 1.766 kB / 0.8247 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.5412, allocations: 1.5 kB / 0.8247 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.5412, allocations: 4.594 kB / 0.8247 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001528/0.5414, allocations: 188.1 kB / 0.8249 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.5414, allocations: 1.969 kB / 0.8249 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.968e-05/0.5414, allocations: 6.672 kB / 0.8249 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.5414, allocations: 1.375 kB / 0.8249 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.5414, allocations: 6.906 kB / 0.8249 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.5414, allocations: 0 / 0.8249 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.634e-06/0.5414, allocations: 0 / 0.8249 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001637/0.5416, allocations: 160.7 kB / 0.8251 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.413e-05/0.5416, allocations: 20 kB / 0.8251 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.5416, allocations: 2.938 kB / 0.8251 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.946e-05/0.5417, allocations: 11.61 kB / 0.8251 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.975e-05/0.5417, allocations: 11.84 kB / 0.8251 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.5417, allocations: 3.078 kB / 0.8251 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001533/0.5419, allocations: 201.2 kB / 0.8253 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5419, allocations: 5.188 kB / 0.8253 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002008/0.5421, allocations: 34.19 kB / 0.8253 GB, free: 11.71 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.001062/0.5431, allocations: 1.028 MB / 0.8264 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001832/0.5433, allocations: 78.25 kB / 0.8264 GB, free: 10.99 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.5433, allocations: 0 / 0.8264 GB, free: 10.99 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.111e-05/0.5434, allocations: 43.39 kB / 0.8265 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002043/0.5436, allocations: 49.62 kB / 0.8265 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001787/0.5454, allocations: 1.992 MB / 0.8285 GB, free: 9.543 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001035/0.5455, allocations: 110.8 kB / 0.8286 GB, free: 9.465 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.882e-05/0.5456, allocations: 24.41 kB / 0.8286 GB, free: 9.461 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.88e-05/0.5456, allocations: 52.92 kB / 0.8286 GB, free: 9.426 MB / 0.6198 GB Notification: Performance of SimCode: time 5.72e-07/0.5456, allocations: 0 / 0.8286 GB, free: 9.426 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02181/0.5675, allocations: 5.494 MB / 0.834 GB, free: 7.957 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.542/7.11, allocations: 11.66 kB / 0.834 GB, free: 7.953 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.059947585687041] Failed to read output from testmodel.py, exit status != 0: 7.205411296337843 7.215935144 6.676463644 Calling exit ...