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.001636/0.001636, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.001898/0.001898, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.531/1.531, allocations: 225.6 MB / 249.4 MB, free: 3.141 MB / 190.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/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.098/1.098, allocations: 175.7 MB / 480.2 MB, free: 2.75 MB / 366.1 MB " [Timeout remaining time 179] 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.001911/0.001911, allocations: 72.91 kB / 0.6684 GB, free: 10.62 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2283/0.2302, allocations: 94.53 MB / 0.7607 GB, free: 292 kB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.003374/0.2336, allocations: 1.794 MB / 0.7624 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001918/0.2355, allocations: 1.142 MB / 0.7636 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.896e-05/0.2356, allocations: 0 / 0.7636 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003313/0.2359, allocations: 59.73 kB / 0.7636 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002691/0.2362, allocations: 75.67 kB / 0.7637 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006666/0.2368, allocations: 230.3 kB / 0.7639 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000241/0.2371, allocations: 147.7 kB / 0.764 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.2372, allocations: 17 kB / 0.7641 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.2373, allocations: 63.75 kB / 0.7641 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001461/0.2374, allocations: 71.73 kB / 0.7642 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.2375, allocations: 7.938 kB / 0.7642 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001807/0.2376, allocations: 79.89 kB / 0.7643 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.548e-05/0.2377, allocations: 35.89 kB / 0.7643 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.492e-05/0.2378, allocations: 55.61 kB / 0.7644 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000341/0.2381, allocations: 195.3 kB / 0.7645 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.2381, allocations: 8 kB / 0.7646 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.223e-06/0.2381, allocations: 0 / 0.7646 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.2382, allocations: 0 / 0.7646 GB, free: 12.3 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.0007899/0.2389, allocations: 0.4898 MB / 0.765 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.239, allocations: 12.03 kB / 0.765 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.953e-05/0.2391, allocations: 20.83 kB / 0.7651 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004414/0.2395, allocations: 241.1 kB / 0.7653 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.2395, allocations: 8.375 kB / 0.7653 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.2395, allocations: 16.12 kB / 0.7653 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002346/0.2398, allocations: 92.17 kB / 0.7654 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.2398, allocations: 3.938 kB / 0.7654 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.2398, allocations: 3.984 kB / 0.7654 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.734e-05/0.2398, allocations: 0 / 0.7654 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001189/0.2399, allocations: 35.98 kB / 0.7654 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006376/0.2406, allocations: 368.6 kB / 0.7658 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002519/0.2408, allocations: 82.66 kB / 0.7659 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.83e-05/0.2409, allocations: 28.78 kB / 0.7659 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.551e-05/0.2409, allocations: 0 / 0.7659 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002192/0.2412, allocations: 91.41 kB / 0.766 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.663e-06/0.2412, allocations: 0 / 0.766 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.0003978/0.2416, allocations: 133.6 kB / 0.7661 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.818e-05/0.2417, allocations: 102.8 kB / 0.7662 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000311/0.242, allocations: 267.1 kB / 0.7665 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.318e-05/0.242, allocations: 29.69 kB / 0.7665 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.679e-05/0.2421, allocations: 112.1 kB / 0.7666 GB, free: 9.965 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.047e-05/0.2421, allocations: 19.86 kB / 0.7666 GB, free: 9.945 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.815e-05/0.2422, allocations: 29.7 kB / 0.7667 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000181/0.2424, allocations: 334.8 kB / 0.767 GB, free: 9.574 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.728e-05/0.2424, allocations: 27.92 kB / 0.767 GB, free: 9.547 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001143/0.2426, allocations: 68.27 kB / 0.7671 GB, free: 9.465 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/0.2427, allocations: 66.02 kB / 0.7671 GB, free: 9.395 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2427, allocations: 4 kB / 0.7671 GB, free: 9.391 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000252/0.243, allocations: 121.5 kB / 0.7672 GB, free: 9.266 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.243, allocations: 4 kB / 0.7672 GB, free: 9.262 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.243, allocations: 7.984 kB / 0.7673 GB, free: 9.254 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.243, allocations: 0 / 0.7673 GB, free: 9.254 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.2431, allocations: 8 kB / 0.7673 GB, free: 9.246 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.2431, allocations: 4 kB / 0.7673 GB, free: 9.242 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.414e-05/0.2432, allocations: 19.86 kB / 0.7673 GB, free: 9.223 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.377e-06/0.2432, allocations: 0 / 0.7673 GB, free: 9.223 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.0001723/0.2434, allocations: 146.5 kB / 0.7674 GB, free: 9.07 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.009e-05/0.2434, allocations: 15.91 kB / 0.7674 GB, free: 9.055 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003071/0.2437, allocations: 123 kB / 0.7676 GB, free: 8.922 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/0.2437, allocations: 3.984 kB / 0.7676 GB, free: 8.918 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.2437, allocations: 4 kB / 0.7676 GB, free: 8.914 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.2437, allocations: 7.969 kB / 0.7676 GB, free: 8.906 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002517/0.244, allocations: 221.6 kB / 0.7678 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.244, allocations: 0 / 0.7678 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.609e-05/0.244, allocations: 11.94 kB / 0.7678 GB, free: 8.629 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.244, allocations: 4 kB / 0.7678 GB, free: 8.625 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.244, allocations: 4 kB / 0.7678 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.2441, allocations: 3.984 kB / 0.7678 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2441, allocations: 192 / 0.7678 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002744/0.2443, allocations: 141 kB / 0.7679 GB, free: 8.461 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.431e-05/0.2444, allocations: 96.94 kB / 0.768 GB, free: 8.348 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.155e-05/0.2444, allocations: 4 kB / 0.768 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.114e-05/0.2445, allocations: 4 kB / 0.768 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.261e-05/0.2445, allocations: 11.98 kB / 0.7681 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/0.2446, allocations: 7.938 kB / 0.7681 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000216/0.2448, allocations: 200.4 kB / 0.7683 GB, free: 8.125 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.2448, allocations: 0 / 0.7683 GB, free: 8.125 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000278/0.2451, allocations: 31.94 kB / 0.7683 GB, free: 8.094 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.001633/0.2467, allocations: 434.5 kB / 0.7687 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002734/0.247, allocations: 67.97 kB / 0.7688 GB, free: 7.758 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.247, allocations: 3.938 kB / 0.7688 GB, free: 7.754 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.2471, allocations: 39.91 kB / 0.7688 GB, free: 7.715 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003347/0.2474, allocations: 47.19 kB / 0.7688 GB, free: 7.676 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006653/0.2481, allocations: 298.7 kB / 0.7691 GB, free: 7.359 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004258/0.2485, allocations: 0.7241 MB / 0.7698 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 7.467e-05/0.2486, allocations: 25.38 kB / 0.7699 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.5e-05/0.2486, allocations: 27.42 kB / 0.7699 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of SimCode: time 2.9e-07/0.2486, allocations: 0 / 0.7699 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of Templates: time 0.006694/0.2553, allocations: 2.544 MB / 0.7724 GB, free: 4.031 MB / 0.5762 GB " [Timeout remaining time 660] 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.286636833101511]