Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.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.001396/0.001396, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001363/0.001363, allocations: 186 kB / 20.78 MB, free: 1.547 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.476/1.476, allocations: 225.6 MB / 249.4 MB, free: 3.16 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.084/1.084, allocations: 175.7 MB / 480.2 MB, free: 2.801 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.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL") translateModel(IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 70.95 kB / 0.6683 GB, free: 10.67 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2073/0.2093, allocations: 94.53 MB / 0.7606 GB, free: 372 kB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.004391/0.2136, allocations: 2.366 MB / 0.763 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001508/0.2152, allocations: 0.8142 MB / 0.7638 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.2153, allocations: 0 / 0.7638 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007037/0.216, allocations: 151.3 kB / 0.7639 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002396/0.2162, allocations: 67.66 kB / 0.764 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002217/0.2164, allocations: 51.89 kB / 0.764 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003062/0.2167, allocations: 163.5 kB / 0.7642 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002624/0.217, allocations: 65.03 kB / 0.7642 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001412/0.2171, allocations: 71.7 kB / 0.7643 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001808/0.2173, allocations: 67.73 kB / 0.7644 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.684e-05/0.2174, allocations: 12 kB / 0.7644 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001359/0.2175, allocations: 59.88 kB / 0.7644 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.507e-05/0.2176, allocations: 43.84 kB / 0.7645 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.353e-05/0.2177, allocations: 63.67 kB / 0.7645 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000372/0.218, allocations: 179.2 kB / 0.7647 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.218, allocations: 4 kB / 0.7647 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.883e-06/0.218, allocations: 0 / 0.7647 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.576e-06/0.2181, allocations: 0 / 0.7647 GB, free: 12.18 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.0009734/0.219, allocations: 494.3 kB / 0.7652 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.2191, allocations: 8.031 kB / 0.7652 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002427/0.2193, allocations: 28.83 kB / 0.7652 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003124/0.2196, allocations: 220.1 kB / 0.7654 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.448e-05/0.2197, allocations: 42.39 kB / 0.7655 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.83e-05/0.2197, allocations: 12.12 kB / 0.7655 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000309/0.22, allocations: 144.2 kB / 0.7656 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.22, allocations: 0 / 0.7656 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.796e-05/0.2201, allocations: 4 kB / 0.7656 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.102e-05/0.2201, allocations: 8 kB / 0.7656 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000224/0.2203, allocations: 87.89 kB / 0.7657 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009787/0.2213, allocations: 0.6364 MB / 0.7663 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000254/0.2216, allocations: 66.53 kB / 0.7664 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.637e-05/0.2216, allocations: 20.92 kB / 0.7664 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.2216, allocations: 7.984 kB / 0.7664 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002537/0.2219, allocations: 142.7 kB / 0.7666 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.2219, allocations: 0 / 0.7666 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.0004303/0.2223, allocations: 163.4 kB / 0.7667 GB, free: 9.898 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/0.2224, allocations: 132.5 kB / 0.7668 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002171/0.2227, allocations: 182.8 kB / 0.767 GB, free: 9.551 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.044e-05/0.2227, allocations: 33.69 kB / 0.767 GB, free: 9.512 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/0.2228, allocations: 140 kB / 0.7672 GB, free: 9.367 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.255e-05/0.2228, allocations: 23.83 kB / 0.7672 GB, free: 9.344 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.997e-05/0.2229, allocations: 33.72 kB / 0.7672 GB, free: 9.305 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001976/0.2231, allocations: 338.8 kB / 0.7676 GB, free: 8.965 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.633e-05/0.2232, allocations: 35.92 kB / 0.7676 GB, free: 8.93 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001513/0.2234, allocations: 107.7 kB / 0.7677 GB, free: 8.793 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003051/0.2237, allocations: 230.4 kB / 0.7679 GB, free: 8.516 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.2237, allocations: 0 / 0.7679 GB, free: 8.516 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004044/0.2241, allocations: 240.7 kB / 0.7681 GB, free: 8.262 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.657e-05/0.2242, allocations: 67.64 kB / 0.7682 GB, free: 8.184 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.2242, allocations: 11.94 kB / 0.7682 GB, free: 8.172 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.2242, allocations: 4 kB / 0.7682 GB, free: 8.168 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.2243, allocations: 31.92 kB / 0.7683 GB, free: 8.137 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.2243, allocations: 0 / 0.7683 GB, free: 8.137 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000132/0.2245, allocations: 27.88 kB / 0.7683 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.788e-05/0.2245, allocations: 8 kB / 0.7683 GB, free: 8.102 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 6 (voltageControl.ctrl.tSwitch,$PRE.voltageControl.ctrl.tSwitch,voltageControl.ctrl.connected,$PRE.voltageControl.ctrl.connected,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 2 * 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.0001711/0.2246, allocations: 171.4 kB / 0.7685 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.497e-05/0.2247, allocations: 19.91 kB / 0.7685 GB, free: 7.898 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.249e-05/0.2247, allocations: 21.33 kB / 0.7685 GB, free: 7.867 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.2247, allocations: 0 / 0.7685 GB, free: 7.867 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.2247, allocations: 0 / 0.7685 GB, free: 7.867 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.2247, allocations: 0 / 0.7685 GB, free: 7.867 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002345/0.225, allocations: 209.6 kB / 0.7687 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.225, allocations: 4 kB / 0.7687 GB, free: 7.609 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.478e-05/0.225, allocations: 8 kB / 0.7687 GB, free: 7.602 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.225, allocations: 3.938 kB / 0.7687 GB, free: 7.598 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/0.2251, allocations: 7.938 kB / 0.7687 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.2251, allocations: 4 kB / 0.7687 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2251, allocations: 0 / 0.7687 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004196/0.2255, allocations: 218.7 kB / 0.7689 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.686e-05/0.2255, allocations: 89 kB / 0.769 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.269e-05/0.2256, allocations: 11.97 kB / 0.769 GB, free: 7.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.732e-05/0.2257, allocations: 8 kB / 0.769 GB, free: 7.223 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.645e-05/0.2257, allocations: 16.05 kB / 0.769 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.615e-06/0.2257, allocations: 0 / 0.769 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001362/0.2259, allocations: 137.1 kB / 0.7692 GB, free: 7.074 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.2259, allocations: 7.938 kB / 0.7692 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002334/0.2261, allocations: 24 kB / 0.7692 GB, free: 7.043 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageControl.y) * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch) * Number of discrete states: 4 ($whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0001331/0.2262, allocations: 103.2 kB / 0.7693 GB, free: 6.934 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003516/0.2266, allocations: 211.2 kB / 0.7695 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2266, allocations: 0 / 0.7695 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001325/0.2267, allocations: 91.33 kB / 0.7696 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002396/0.227, allocations: 22.17 kB / 0.7696 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00066/0.2276, allocations: 293.9 kB / 0.7699 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004014/0.228, allocations: 0.7237 MB / 0.7706 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 7.208e-05/0.2281, allocations: 16.62 kB / 0.7706 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.615e-05/0.2281, allocations: 15.44 kB / 0.7706 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/0.2281, allocations: 4 kB / 0.7706 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of Templates: time 0.004866/0.233, allocations: 1.461 MB / 0.7721 GB, free: 4.035 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.sim & ./IDEAS_dev_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.1911349054425955]