Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7.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.0007807/0.0007807, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.003034/0.003034, allocations: 161.8 kB / 24.7 MB, free: 9.414 MB / 18.57 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.8332/0.8332, allocations: 177.1 MB / 205 MB, free: 5.711 MB / 186.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.08151/0.08151, allocations: 19.73 MB / 281.2 MB, free: 9.438 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.TestElectrical7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 417.8 MB, free: 7.387 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.308e-05/2.45e-05, allocations: 2.281 kB / 417.8 MB, free: 7.383 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical7): time 0.002784/0.002809, allocations: 2.905 MB / 420.7 MB, free: 5.426 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.00383, allocations: 0.8017 MB / 421.5 MB, free: 4.867 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001582/0.003988, allocations: 9.531 kB / 421.5 MB, free: 4.863 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001443/0.004132, allocations: 61.84 kB / 421.6 MB, free: 4.82 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002803/0.004413, allocations: 154.2 kB / 421.7 MB, free: 4.711 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002079/0.00462, allocations: 124.5 kB / 421.9 MB, free: 4.645 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003737/0.004994, allocations: 0.5493 MB / 422.4 MB, free: 4.355 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001808/0.005175, allocations: 100.8 kB / 422.5 MB, free: 4.301 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003453/0.00552, allocations: 307.5 kB / 422.8 MB, free: 4.176 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001947/0.005715, allocations: 164.4 kB / 423 MB, free: 4.121 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.606e-05/0.005761, allocations: 34.69 kB / 423 MB, free: 4.121 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.001e-05/0.005831, allocations: 38.94 kB / 423 MB, free: 4.121 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.857e-05/0.00588, allocations: 97.98 kB / 423.1 MB, free: 4.055 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001061/0.005986, allocations: 152.5 kB / 423.3 MB, free: 3.988 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004348/0.006421, allocations: 435 kB / 423.7 MB, free: 3.805 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.006423, allocations: 0 / 423.7 MB, free: 3.805 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.006423, allocations: 1.094 kB / 423.7 MB, free: 3.805 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.014e-06/0.00643, allocations: 0 / 423.7 MB, free: 3.805 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.0008927/0.007323, allocations: 0.7287 MB / 424.4 MB, free: 3.277 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.007359, allocations: 9.719 kB / 424.4 MB, free: 3.277 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001088/0.007468, allocations: 60.75 kB / 424.5 MB, free: 3.246 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003684/0.007836, allocations: 314.2 kB / 424.8 MB, free: 3.004 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.39e-05/0.00786, allocations: 26.09 kB / 424.8 MB, free: 2.992 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.874e-05/0.007919, allocations: 40.88 kB / 424.9 MB, free: 2.977 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004057/0.008324, allocations: 308.4 kB / 425.2 MB, free: 2.828 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.37e-05/0.008348, allocations: 9.875 kB / 425.2 MB, free: 2.82 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.254e-05/0.008371, allocations: 14.47 kB / 425.2 MB, free: 2.809 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.008382, allocations: 12.5 kB / 425.2 MB, free: 2.805 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003115/0.008694, allocations: 213.3 kB / 425.4 MB, free: 2.738 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001114/0.009808, allocations: 0.9685 MB / 426.4 MB, free: 2.078 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003944/0.0102, allocations: 252.1 kB / 426.6 MB, free: 1.965 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001523/0.01035, allocations: 119.3 kB / 426.7 MB, free: 1.918 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.01038, allocations: 3.562 kB / 426.8 MB, free: 1.918 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.295e-05/0.01039, allocations: 37.7 kB / 426.8 MB, free: 1.875 MB / 330.7 MB Notification: Performance of pre-optimization done (n=33): time 1.363e-06/0.01039, allocations: 5.125 kB / 426.8 MB, free: 1.871 MB / 330.7 MB Notification: Performance of matching and sorting (n=35): time 0.001364/0.01176, allocations: 0.8697 MB / 427.7 MB, free: 1.406 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.523e-05/0.01178, allocations: 55.62 kB / 427.7 MB, free: 1.344 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002765/0.01206, allocations: 374.2 kB / 428.1 MB, free: 1.145 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.01207, allocations: 30.92 kB / 428.1 MB, free: 1.109 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.256e-05/0.01216, allocations: 225.5 kB / 428.3 MB, free: 0.9258 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.638e-05/0.01222, allocations: 132.3 kB / 428.5 MB, free: 0.8203 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.549e-05/0.01229, allocations: 79.44 kB / 428.5 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.781e-05/0.01233, allocations: 349.4 kB / 428.9 MB, free: 452 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/0.01245, allocations: 96.61 kB / 429 MB, free: 412 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001254/0.01257, allocations: 147.8 kB / 429.1 MB, free: 332 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002355/0.01281, allocations: 254.5 kB / 429.4 MB, free: 188 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.01281, allocations: 1.656 kB / 429.4 MB, free: 188 kB / 330.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003348/0.01315, allocations: 344.6 kB / 429.7 MB, free: 28 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.01316, allocations: 4.719 kB / 429.7 MB, free: 28 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.01316, allocations: 2.125 kB / 429.7 MB, free: 28 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.01318, allocations: 3.406 kB / 429.7 MB, free: 28 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003838/0.01356, allocations: 149.2 kB / 429.9 MB, free: 16 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008328/0.0144, allocations: 1.311 MB / 431.2 MB, free: 14.7 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001216/0.01452, allocations: 15.58 kB / 431.2 MB, free: 14.69 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.659e-05/0.01453, allocations: 19.38 kB / 431.2 MB, free: 14.68 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001191/0.01465, allocations: 149.5 kB / 431.4 MB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.61e-05/0.0147, allocations: 44.03 kB / 431.4 MB, free: 14.52 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003521/0.01505, allocations: 315.7 kB / 431.7 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.01505, allocations: 7.938 kB / 431.7 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.01506, allocations: 5.188 kB / 431.7 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.01506, allocations: 1.594 kB / 431.7 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006958/0.01576, allocations: 0.6584 MB / 432.4 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.01576, allocations: 1.844 kB / 432.4 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002209/0.01598, allocations: 77.33 kB / 432.5 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.01598, allocations: 2.922 kB / 432.5 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.01601, allocations: 14.64 kB / 432.5 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.01601, allocations: 6.281 kB / 432.5 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.01601, allocations: 4.844 kB / 432.5 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004721/0.01648, allocations: 0.5108 MB / 433 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.068e-05/0.01657, allocations: 60.17 kB / 433.1 MB, free: 13.6 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.79e-05/0.0166, allocations: 11.52 kB / 433.1 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.01671, allocations: 8.906 kB / 433.1 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.449e-05/0.01675, allocations: 22.92 kB / 433.1 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.01676, allocations: 11.95 kB / 433.1 MB, free: 13.58 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001856/0.01695, allocations: 255.8 kB / 433.4 MB, free: 13.46 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01695, allocations: 5.125 kB / 433.4 MB, free: 13.45 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002377/0.01719, allocations: 88.84 kB / 433.4 MB, free: 13.44 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (gen_a.phi,gen_a.omega_m,gen_a.omega_e_filt,gen_b.phi,gen_b.omega_m,gen_b.omega_e_filt,torqueGen_a.y,torqueGen_b.y,secondaryController.powerOffset) * 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 (36): * Single equations (assignments): 36 * 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.011e-05/0.01728, allocations: 101.5 kB / 433.5 MB, free: 13.34 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000396/0.01767, allocations: 261.2 kB / 433.8 MB, free: 13.27 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.01768, allocations: 1.344 kB / 433.8 MB, free: 13.27 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001304/0.01781, allocations: 119.7 kB / 433.9 MB, free: 13.23 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003571/0.01816, allocations: 92.81 kB / 434 MB, free: 13.19 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.01934, allocations: 0.9917 MB / 435 MB, free: 12.56 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001534/0.01949, allocations: 219 kB / 435.2 MB, free: 12.47 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.581e-05/0.01958, allocations: 37.28 kB / 435.3 MB, free: 12.46 MB / 346.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01958, allocations: 1.062 kB / 435.3 MB, free: 12.46 MB / 346.7 MB Notification: Performance of Templates: time 0.005319/0.0249, allocations: 5.629 MB / 440.9 MB, free: 10.24 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.411582355387509] Failed to read output from testmodel.py, exit status != 0: 0.030058851465582848 0.037699685000000004 0.0296549 Calling exit ...