Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.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.0009027/0.0009027, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001296/0.002199, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0009942/0.0009942, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001257/0.002251, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9366/0.9366, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09193/1.028, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.1025/0.1025, allocations: 19.79 MB / 264 MB, free: 10.94 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01538/0.1179, allocations: 7.557 MB / 271.5 MB, free: 3.352 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/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: translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 272.8 MB, free: 2.07 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.027e-05/3.199e-05, allocations: 2.312 kB / 272.8 MB, free: 2.066 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical1): time 0.1457/0.1457, allocations: 2.159 MB / 275 MB, free: 1.594 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00116/0.1469, allocations: 0.5925 MB / 275.5 MB, free: 1.59 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001228/0.147, allocations: 5.719 kB / 275.6 MB, free: 1.59 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001057/0.1471, allocations: 23.67 kB / 275.6 MB, free: 1.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002183/0.1473, allocations: 72.11 kB / 275.6 MB, free: 1.578 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001604/0.1475, allocations: 51.75 kB / 275.7 MB, free: 1.574 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000282/0.1478, allocations: 215.2 kB / 275.9 MB, free: 1.512 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.1479, allocations: 28.86 kB / 275.9 MB, free: 1.508 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003366/0.1482, allocations: 163.6 kB / 276.1 MB, free: 1.484 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001429/0.1484, allocations: 59.72 kB / 276.2 MB, free: 1.477 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.916e-05/0.1484, allocations: 13.38 kB / 276.2 MB, free: 1.477 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.585e-05/0.1485, allocations: 16.3 kB / 276.2 MB, free: 1.477 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.079e-05/0.1485, allocations: 26.06 kB / 276.2 MB, free: 1.469 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.323e-05/0.1486, allocations: 48.47 kB / 276.3 MB, free: 1.461 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002273/0.1488, allocations: 108.6 kB / 276.4 MB, free: 1.441 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.365e-05/0.1488, allocations: 4.594 kB / 276.4 MB, free: 1.441 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1488, allocations: 0 / 276.4 MB, free: 1.441 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.194e-05/0.1488, allocations: 3.938 kB / 276.4 MB, free: 1.438 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0006022/0.1494, allocations: 439.6 kB / 276.8 MB, free: 1.137 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.1494, allocations: 9.188 kB / 276.8 MB, free: 1.137 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001203/0.1496, allocations: 100.6 kB / 276.9 MB, free: 1.043 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001989/0.1498, allocations: 166.4 kB / 277.1 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.1498, allocations: 12.69 kB / 277.1 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.22e-05/0.1498, allocations: 19.09 kB / 277.1 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.15, allocations: 119.2 kB / 277.2 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.15, allocations: 2.438 kB / 277.2 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.15, allocations: 4.531 kB / 277.2 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.15, allocations: 6.406 kB / 277.2 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.359e-05/0.1501, allocations: 43.36 kB / 277.3 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00045/0.1505, allocations: 339.4 kB / 277.6 MB, free: 0.5664 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.1507, allocations: 71.34 kB / 277.7 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.308e-05/0.1507, allocations: 22.95 kB / 277.7 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.117e-06/0.1507, allocations: 2.25 kB / 277.7 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.658e-05/0.1508, allocations: 37.53 kB / 277.7 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.483e-06/0.1508, allocations: 0.6562 kB / 277.7 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004849/0.1512, allocations: 274.5 kB / 278 MB, free: 328 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.455e-05/0.1513, allocations: 53.45 kB / 278.1 MB, free: 264 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.1514, allocations: 191.6 kB / 278.2 MB, free: 148 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.197e-06/0.1514, allocations: 29.73 kB / 278.3 MB, free: 116 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.034e-05/0.1515, allocations: 118.4 kB / 278.4 MB, free: 16 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.741e-05/0.1515, allocations: 42.97 kB / 278.4 MB, free: 15.98 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.733e-05/0.1516, allocations: 38.11 kB / 278.5 MB, free: 15.96 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.1517, allocations: 332.6 kB / 278.8 MB, free: 15.65 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.52e-05/0.1517, allocations: 18.7 kB / 278.8 MB, free: 15.64 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.234e-05/0.1517, allocations: 42.41 kB / 278.8 MB, free: 15.62 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.166e-05/0.1518, allocations: 57.33 kB / 278.9 MB, free: 15.59 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.1518, allocations: 0 / 278.9 MB, free: 15.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001291/0.1519, allocations: 90.91 kB / 279 MB, free: 15.55 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.152, allocations: 6.062 kB / 279 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.152, allocations: 0 / 279 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.152, allocations: 2.094 kB / 279 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/0.1521, allocations: 43.59 kB / 279 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.1521, allocations: 1.953 kB / 279 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.911e-05/0.1522, allocations: 11.77 kB / 279.1 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.1522, allocations: 3.344 kB / 279.1 MB, free: 15.55 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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 6.919e-05/0.1523, allocations: 116.6 kB / 279.2 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.857e-05/0.1523, allocations: 16.44 kB / 279.2 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.267e-05/0.1523, allocations: 22.52 kB / 279.2 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.247e-06/0.1523, allocations: 1.875 kB / 279.2 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.1523, allocations: 4.062 kB / 279.2 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.1523, allocations: 5.734 kB / 279.2 MB, free: 15.42 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000307/0.1527, allocations: 260.1 kB / 279.5 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.1527, allocations: 1.094 kB / 279.5 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001485/0.1528, allocations: 38.78 kB / 279.5 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.697e-05/0.1528, allocations: 16.3 kB / 279.5 MB, free: 15.22 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.1528, allocations: 2.812 kB / 279.5 MB, free: 15.22 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.1529, allocations: 12.8 kB / 279.5 MB, free: 15.22 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.1529, allocations: 1.219 kB / 279.5 MB, free: 15.22 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1529, allocations: 4 kB / 279.6 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001832/0.153, allocations: 187.6 kB / 279.7 MB, free: 15.09 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.1531, allocations: 9.281 kB / 279.7 MB, free: 15.08 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.747e-05/0.1531, allocations: 1.953 kB / 279.7 MB, free: 15.08 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.1531, allocations: 13.72 kB / 279.8 MB, free: 15.08 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.1532, allocations: 1.156 kB / 279.8 MB, free: 15.08 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.691e-05/0.1532, allocations: 61.17 kB / 279.8 MB, free: 15.07 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1532, allocations: 1.125 kB / 279.8 MB, free: 15.07 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001602/0.1534, allocations: 34 kB / 279.9 MB, free: 15.07 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (generator.phi,generator.omega_m,generator.omega_e_filt) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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 Backend phase and start with SimCode phase: time 9.763e-05/0.1535, allocations: 78.19 kB / 279.9 MB, free: 15 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001091/0.1536, allocations: 56.98 kB / 280 MB, free: 14.98 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.029e-05/0.1536, allocations: 3.531 kB / 280 MB, free: 14.98 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.85e-05/0.1536, allocations: 40.61 kB / 280 MB, free: 14.97 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003242/0.154, allocations: 271.8 kB / 280.3 MB, free: 14.71 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002498/0.1565, allocations: 393.4 kB / 280.7 MB, free: 14.48 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.954e-05/0.1565, allocations: 78.12 kB / 280.8 MB, free: 14.4 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.026e-05/0.1566, allocations: 18.47 kB / 280.8 MB, free: 14.4 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.735e-05/0.1567, allocations: 74.36 kB / 280.8 MB, free: 14.35 MB / 282.7 MB Notification: Performance of SimCode: time 8.32e-07/0.1567, allocations: 0 / 280.8 MB, free: 14.35 MB / 282.7 MB Notification: Performance of Templates: time 0.004861/0.1616, allocations: 1.812 MB / 282.7 MB, free: 14.17 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6503106988966465]