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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001953/0.001953, allocations: 110 kB / 18.94 MB, free: 2.789 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001828/0.001828, allocations: 191.8 kB / 22.23 MB, free: 5.238 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.54/1.54, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:482:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:490:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 1.273/1.273, allocations: 177.9 MB / 484.2 MB, free: 5.395 MB / 382.1 MB " [Timeout remaining time 178] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator") translateModel(IDEAS.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 69 kB / 0.674 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6677/0.6697, allocations: 95.17 MB / 0.7669 GB, free: 7.93 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.004011/0.6737, allocations: 1.794 MB / 0.7687 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001879/0.6756, allocations: 1.134 MB / 0.7698 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.6757, allocations: 9.156 kB / 0.7698 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003509/0.6761, allocations: 57.22 kB / 0.7699 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002556/0.6763, allocations: 74.62 kB / 0.7699 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006458/0.677, allocations: 228.8 kB / 0.7701 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000226/0.6772, allocations: 145.3 kB / 0.7703 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.6773, allocations: 26 kB / 0.7703 GB, free: 6 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.6775, allocations: 66.7 kB / 0.7704 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001231/0.6776, allocations: 72.98 kB / 0.7704 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.751e-05/0.6776, allocations: 7.594 kB / 0.7704 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000217/0.6778, allocations: 80.58 kB / 0.7705 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.821e-05/0.6779, allocations: 45.56 kB / 0.7706 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.851e-05/0.678, allocations: 53.44 kB / 0.7706 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003828/0.6784, allocations: 201.2 kB / 0.7708 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.6784, allocations: 1.438 kB / 0.7708 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.483e-06/0.6784, allocations: 0 / 0.7708 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.193e-06/0.6784, allocations: 4 kB / 0.7708 GB, free: 5.777 MB / 0.5762 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.0007293/0.6791, allocations: 420.9 kB / 0.7712 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.6792, allocations: 10.12 kB / 0.7712 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.899e-05/0.6792, allocations: 16.78 kB / 0.7712 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000364/0.6796, allocations: 194.2 kB / 0.7714 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.6796, allocations: 2.438 kB / 0.7714 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.358e-05/0.6796, allocations: 11.62 kB / 0.7714 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002285/0.6799, allocations: 103 kB / 0.7715 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.6799, allocations: 0 / 0.7715 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.6799, allocations: 0.9062 kB / 0.7715 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.975e-05/0.6799, allocations: 2.5 kB / 0.7715 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001195/0.68, allocations: 36.59 kB / 0.7716 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004882/0.6805, allocations: 323.5 kB / 0.7719 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000239/0.6808, allocations: 84.86 kB / 0.772 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.295e-05/0.6808, allocations: 30.58 kB / 0.772 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.003e-05/0.6809, allocations: 4.828 kB / 0.772 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000187/0.6811, allocations: 75.11 kB / 0.7721 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.363e-06/0.6811, allocations: 0.9062 kB / 0.7721 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.0003972/0.6815, allocations: 147 kB / 0.7722 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/0.6815, allocations: 104.7 kB / 0.7723 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002814/0.6818, allocations: 262.2 kB / 0.7726 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.6818, allocations: 27.23 kB / 0.7726 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.701e-05/0.6819, allocations: 115.9 kB / 0.7727 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.183e-05/0.6819, allocations: 27.05 kB / 0.7727 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.496e-05/0.682, allocations: 27.61 kB / 0.7727 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.524e-05/0.682, allocations: 333.2 kB / 0.7731 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.023e-05/0.6821, allocations: 28.03 kB / 0.7731 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/0.6822, allocations: 73.3 kB / 0.7732 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.6824, allocations: 68.09 kB / 0.7732 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.6824, allocations: 0 / 0.7732 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002185/0.6826, allocations: 117.1 kB / 0.7733 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.6826, allocations: 5.688 kB / 0.7733 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.6826, allocations: 0.7031 kB / 0.7733 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.6826, allocations: 0.75 kB / 0.7733 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.6827, allocations: 14.2 kB / 0.7734 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.6828, allocations: 5.109 kB / 0.7734 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.728e-05/0.6828, allocations: 14.69 kB / 0.7734 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.6828, allocations: 4.719 kB / 0.7734 GB, free: 3.68 MB / 0.5762 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.0001225/0.683, allocations: 144.7 kB / 0.7735 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.315e-05/0.683, allocations: 24.08 kB / 0.7735 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000343/0.6833, allocations: 122.4 kB / 0.7737 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.6833, allocations: 4.594 kB / 0.7737 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.6834, allocations: 3.938 kB / 0.7737 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.6834, allocations: 3.938 kB / 0.7737 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001901/0.6835, allocations: 194.4 kB / 0.7739 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.6835, allocations: 0 / 0.7739 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.203e-05/0.6836, allocations: 7.844 kB / 0.7739 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.6836, allocations: 0.5312 kB / 0.7739 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.6836, allocations: 13.08 kB / 0.7739 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.6836, allocations: 0.9062 kB / 0.7739 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.6836, allocations: 0.75 kB / 0.7739 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000241/0.6839, allocations: 142.2 kB / 0.774 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.428e-05/0.6839, allocations: 15.53 kB / 0.774 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.194e-05/0.6839, allocations: 2.344 kB / 0.774 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.738e-05/0.684, allocations: 7.703 kB / 0.774 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.396e-05/0.684, allocations: 7.75 kB / 0.774 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/0.6841, allocations: 11.41 kB / 0.7741 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001783/0.6842, allocations: 197 kB / 0.7742 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6842, allocations: 1.031 kB / 0.7742 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002748/0.6845, allocations: 33.83 kB / 0.7743 GB, free: 3.035 MB / 0.5762 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.001585/0.6861, allocations: 431.5 kB / 0.7747 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002587/0.6864, allocations: 66.42 kB / 0.7748 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.6864, allocations: 4.062 kB / 0.7748 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.54e-05/0.6865, allocations: 33.67 kB / 0.7748 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003221/0.6868, allocations: 42.61 kB / 0.7748 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006002/0.6874, allocations: 297.7 kB / 0.7751 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001795/0.6876, allocations: 0.7192 MB / 0.7758 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 7.746e-05/0.6876, allocations: 30.11 kB / 0.7758 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.161e-05/0.6877, allocations: 17.38 kB / 0.7759 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of SimCode: time 3.3e-07/0.6877, allocations: 1 kB / 0.7759 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of Templates: time 0.008164/0.6958, allocations: 2.59 MB / 0.7784 GB, free: 1.613 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.9941906640306115] Failed to read output from testmodel.py, exit status != 0: 0.7048983769491315 0.720672854 0.038673593 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fb5305897b0>