Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.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.001328/0.001328, allocations: 110.5 kB / 17.6 MB, free: 4.688 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.001407/0.001407, allocations: 190.8 kB / 20.78 MB, free: 1.516 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.512/1.512, allocations: 225.6 MB / 249.4 MB, free: 3.156 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.125/1.125, allocations: 175.7 MB / 480.2 MB, free: 2.762 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.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset") translateModel(IDEAS.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003132/0.003132, allocations: 64.02 kB / 0.6684 GB, free: 10.64 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2185/0.2216, allocations: 94.53 MB / 0.7607 GB, free: 284 kB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegratorWithReset): time 0.003676/0.2253, allocations: 1.833 MB / 0.7625 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001171/0.2265, allocations: 0.5493 MB / 0.763 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000113/0.2266, allocations: 4 kB / 0.763 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001603/0.2268, allocations: 31.72 kB / 0.7631 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 9.854e-05/0.2269, allocations: 27.73 kB / 0.7631 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002744/0.2271, allocations: 63.8 kB / 0.7631 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002648/0.2274, allocations: 175.5 kB / 0.7633 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001434/0.2275, allocations: 37.61 kB / 0.7634 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 8.946e-05/0.2276, allocations: 55.72 kB / 0.7634 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 8.65e-05/0.2277, allocations: 59.69 kB / 0.7635 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.835e-05/0.2278, allocations: 12 kB / 0.7635 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.854e-05/0.2278, allocations: 12 kB / 0.7635 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.839e-05/0.2278, allocations: 31.84 kB / 0.7635 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001359/0.2279, allocations: 67.55 kB / 0.7636 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002033/0.2281, allocations: 127.4 kB / 0.7637 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2282, allocations: 0 / 0.7637 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2282, allocations: 0 / 0.7637 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.034e-05/0.2282, allocations: 0 / 0.7637 GB, free: 13.19 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007791/0.2289, allocations: 490.4 kB / 0.7642 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.229, allocations: 12.03 kB / 0.7642 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.088e-05/0.229, allocations: 20.84 kB / 0.7642 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003357/0.2294, allocations: 232 kB / 0.7644 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.2294, allocations: 12.38 kB / 0.7644 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.555e-05/0.2294, allocations: 12.38 kB / 0.7644 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003212/0.2297, allocations: 154 kB / 0.7646 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.2297, allocations: 7.875 kB / 0.7646 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.125e-05/0.2298, allocations: 7.984 kB / 0.7646 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.2298, allocations: 4 kB / 0.7646 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002295/0.23, allocations: 71.83 kB / 0.7647 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009953/0.231, allocations: 0.7356 MB / 0.7654 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001667/0.2312, allocations: 58.48 kB / 0.7655 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.2313, allocations: 28.83 kB / 0.7655 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.379e-05/0.2313, allocations: 4 kB / 0.7655 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002442/0.2315, allocations: 118.7 kB / 0.7656 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 1.262e-06/0.2315, allocations: 4 kB / 0.7656 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.0004942/0.232, allocations: 165.4 kB / 0.7658 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.655e-05/0.2321, allocations: 140.5 kB / 0.7659 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002137/0.2323, allocations: 199.1 kB / 0.7661 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.2324, allocations: 25.95 kB / 0.7661 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.2325, allocations: 128 kB / 0.7662 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.255e-05/0.2325, allocations: 43.83 kB / 0.7663 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.514e-05/0.2326, allocations: 37.7 kB / 0.7663 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.2327, allocations: 326.8 kB / 0.7666 GB, free: 9.918 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001344/0.2329, allocations: 43.91 kB / 0.7667 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002113/0.2331, allocations: 148.1 kB / 0.7668 GB, free: 9.68 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003383/0.2334, allocations: 202.3 kB / 0.767 GB, free: 9.43 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.2334, allocations: 4 kB / 0.767 GB, free: 9.426 MB / 0.5762 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004055/0.2338, allocations: 201.6 kB / 0.7672 GB, free: 9.223 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.2338, allocations: 8.062 kB / 0.7672 GB, free: 9.215 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.2339, allocations: 7.984 kB / 0.7672 GB, free: 9.207 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.227e-05/0.2339, allocations: 8 kB / 0.7672 GB, free: 9.199 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001526/0.234, allocations: 31.92 kB / 0.7672 GB, free: 9.168 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.316e-05/0.234, allocations: 15.88 kB / 0.7673 GB, free: 9.152 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001403/0.2342, allocations: 23.88 kB / 0.7673 GB, free: 9.129 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.2342, allocations: 12 kB / 0.7673 GB, free: 9.117 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 9 (sampleTrigger.y,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition3,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * Array equations: 0 * 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.0001263/0.2343, allocations: 137.6 kB / 0.7674 GB, free: 8.973 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.061e-05/0.2344, allocations: 23.91 kB / 0.7674 GB, free: 8.949 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.855e-05/0.2344, allocations: 17.41 kB / 0.7675 GB, free: 8.926 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.2344, allocations: 0 / 0.7675 GB, free: 8.926 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.2344, allocations: 7.984 kB / 0.7675 GB, free: 8.918 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.2344, allocations: 0 / 0.7675 GB, free: 8.918 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008099/0.2352, allocations: 0.5096 MB / 0.768 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.2352, allocations: 8 kB / 0.768 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001203/0.2354, allocations: 23.92 kB / 0.768 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.2354, allocations: 0 / 0.768 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.2354, allocations: 4.047 kB / 0.768 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.2354, allocations: 0 / 0.768 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.2354, allocations: 11.86 kB / 0.768 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005412/0.2359, allocations: 364.2 kB / 0.7684 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.887e-05/0.236, allocations: 93.33 kB / 0.7685 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.536e-05/0.236, allocations: 0 / 0.7685 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001748/0.2362, allocations: 20.02 kB / 0.7685 GB, free: 7.797 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.647e-05/0.2363, allocations: 23.92 kB / 0.7685 GB, free: 7.773 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.2363, allocations: 4 kB / 0.7685 GB, free: 7.77 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001276/0.2364, allocations: 144.4 kB / 0.7686 GB, free: 7.629 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2364, allocations: 0 / 0.7686 GB, free: 7.629 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003296/0.2367, allocations: 31.94 kB / 0.7687 GB, free: 7.598 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulseStart,sampleTrigger.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000131/0.2369, allocations: 95.25 kB / 0.7688 GB, free: 7.496 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003413/0.2372, allocations: 119.9 kB / 0.7689 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.2372, allocations: 0 / 0.7689 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001471/0.2373, allocations: 47.91 kB / 0.7689 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005676/0.2379, allocations: 68.77 kB / 0.769 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006815/0.2386, allocations: 375.8 kB / 0.7693 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003854/0.239, allocations: 0.7203 MB / 0.77 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 7.383e-05/0.2391, allocations: 17.55 kB / 0.7701 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.776e-05/0.2391, allocations: 23.38 kB / 0.7701 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of SimCode: time 5.41e-07/0.2391, allocations: 0 / 0.7701 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of Templates: time 0.005586/0.2447, allocations: 2.072 MB / 0.7721 GB, free: 4.031 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.289605029858649]