Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_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.0007461/0.0007461, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003245/0.003245, allocations: 160.6 kB / 24.7 MB, free: 9.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8211/0.8211, allocations: 158.6 MB / 186.5 MB, free: 3.051 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.16/0.16, allocations: 36.34 MB / 275.1 MB, free: 10.9 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_ThermoPower.Test.ElectricalComponents.TestElectrical7") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 415.6 MB, free: 5.594 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.854e-05/3.032e-05, allocations: 2.281 kB / 415.6 MB, free: 5.59 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical7): time 0.003014/0.003044, allocations: 2.894 MB / 418.5 MB, free: 2.676 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001177/0.004221, allocations: 0.8068 MB / 419.3 MB, free: 1.859 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001726/0.004394, allocations: 11.94 kB / 419.3 MB, free: 1.848 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001548/0.004549, allocations: 59.31 kB / 419.4 MB, free: 1.789 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002838/0.004833, allocations: 170.5 kB / 419.5 MB, free: 1.621 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002059/0.005039, allocations: 111.8 kB / 419.6 MB, free: 1.512 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003881/0.005427, allocations: 0.5487 MB / 420.2 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001847/0.005611, allocations: 98.02 kB / 420.3 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002594/0.005871, allocations: 303.2 kB / 420.6 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000169/0.00604, allocations: 163.4 kB / 420.7 MB, free: 412 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.168e-05/0.006081, allocations: 36 kB / 420.8 MB, free: 376 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.763e-05/0.006149, allocations: 39.94 kB / 420.8 MB, free: 336 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.245e-05/0.006202, allocations: 103.5 kB / 420.9 MB, free: 232 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 9.77e-05/0.006299, allocations: 151.5 kB / 421.1 MB, free: 80 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003807/0.00668, allocations: 426.5 kB / 421.5 MB, free: 15.66 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.006683, allocations: 4 kB / 421.5 MB, free: 15.66 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.006685, allocations: 0 / 421.5 MB, free: 15.66 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.712e-06/0.006692, allocations: 4 kB / 421.5 MB, free: 15.65 MB / 362.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.0009053/0.007597, allocations: 0.7265 MB / 422.2 MB, free: 14.89 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.007633, allocations: 8.031 kB / 422.2 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001063/0.007739, allocations: 60.56 kB / 422.3 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003847/0.008124, allocations: 311.8 kB / 422.6 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.064e-05/0.008145, allocations: 25.03 kB / 422.6 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.189e-05/0.008197, allocations: 36.38 kB / 422.6 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003622/0.008559, allocations: 318.4 kB / 423 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.008573, allocations: 4.172 kB / 423 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.11e-05/0.008594, allocations: 12.38 kB / 423 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.008603, allocations: 11.94 kB / 423 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002633/0.008866, allocations: 206.5 kB / 423.2 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001104/0.00997, allocations: 0.98 MB / 424.2 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003467/0.01032, allocations: 247.6 kB / 424.4 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001314/0.01045, allocations: 117.4 kB / 424.5 MB, free: 12.49 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.01047, allocations: 4.219 kB / 424.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.861e-05/0.01049, allocations: 38.84 kB / 424.6 MB, free: 12.44 MB / 362.7 MB Notification: Performance of pre-optimization done (n=33): time 1.924e-06/0.01049, allocations: 0 / 424.6 MB, free: 12.44 MB / 362.7 MB Notification: Performance of matching and sorting (n=35): time 0.001264/0.01175, allocations: 0.8627 MB / 425.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.01179, allocations: 59.41 kB / 425.5 MB, free: 11.47 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002658/0.01205, allocations: 373.6 kB / 425.8 MB, free: 11.09 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.01207, allocations: 29.7 kB / 425.9 MB, free: 11.06 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.01218, allocations: 229.2 kB / 426.1 MB, free: 10.83 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.807e-05/0.01225, allocations: 130.8 kB / 426.2 MB, free: 10.7 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.938e-05/0.01232, allocations: 70.2 kB / 426.3 MB, free: 10.63 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.703e-05/0.0124, allocations: 350.8 kB / 426.6 MB, free: 10.28 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/0.01252, allocations: 96.95 kB / 426.7 MB, free: 10.18 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001339/0.01266, allocations: 145.2 kB / 426.9 MB, free: 10.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002613/0.01292, allocations: 267.8 kB / 427.1 MB, free: 9.746 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.01292, allocations: 0 / 427.1 MB, free: 9.746 MB / 362.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003496/0.01327, allocations: 341.2 kB / 427.5 MB, free: 9.406 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.01328, allocations: 11.94 kB / 427.5 MB, free: 9.395 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.01329, allocations: 0 / 427.5 MB, free: 9.395 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.0133, allocations: 8.125 kB / 427.5 MB, free: 9.387 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003699/0.01367, allocations: 147.8 kB / 427.6 MB, free: 9.242 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007113/0.01438, allocations: 1.311 MB / 428.9 MB, free: 7.824 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.0145, allocations: 20.17 kB / 429 MB, free: 7.805 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/0.01451, allocations: 12 kB / 429 MB, free: 7.793 MB / 362.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.0001147/0.01463, allocations: 149.8 kB / 429.1 MB, free: 7.637 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.069e-05/0.01467, allocations: 43.7 kB / 429.2 MB, free: 7.594 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003114/0.01498, allocations: 317.8 kB / 429.5 MB, free: 7.277 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.01498, allocations: 4 kB / 429.5 MB, free: 7.273 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.01499, allocations: 3.938 kB / 429.5 MB, free: 7.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.01499, allocations: 3.984 kB / 429.5 MB, free: 7.266 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006476/0.01564, allocations: 0.6627 MB / 430.1 MB, free: 6.566 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/0.01564, allocations: 3.938 kB / 430.2 MB, free: 6.562 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002113/0.01585, allocations: 83.89 kB / 430.2 MB, free: 6.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.01585, allocations: 4 kB / 430.2 MB, free: 6.477 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.01587, allocations: 7.938 kB / 430.2 MB, free: 6.469 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.01587, allocations: 4 kB / 430.3 MB, free: 6.465 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.01587, allocations: 0 / 430.3 MB, free: 6.465 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004472/0.01632, allocations: 0.5087 MB / 430.8 MB, free: 5.938 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.265e-05/0.0164, allocations: 71.61 kB / 430.8 MB, free: 5.867 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.937e-05/0.01643, allocations: 15.94 kB / 430.8 MB, free: 5.852 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.01653, allocations: 7.984 kB / 430.9 MB, free: 5.844 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.448e-05/0.01658, allocations: 19.95 kB / 430.9 MB, free: 5.824 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.01659, allocations: 12.09 kB / 430.9 MB, free: 5.812 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001768/0.01677, allocations: 267.1 kB / 431.1 MB, free: 5.555 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01677, allocations: 0 / 431.1 MB, free: 5.555 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002291/0.017, allocations: 80 kB / 431.2 MB, free: 5.477 MB / 362.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.783e-05/0.01709, allocations: 99.25 kB / 431.3 MB, free: 5.371 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003804/0.01747, allocations: 264.1 kB / 431.6 MB, free: 5.113 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.01748, allocations: 0 / 431.6 MB, free: 5.113 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001249/0.0176, allocations: 131.5 kB / 431.7 MB, free: 4.984 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003512/0.01795, allocations: 89.39 kB / 431.8 MB, free: 4.898 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.01912, allocations: 0.9936 MB / 432.8 MB, free: 3.871 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001317/0.01925, allocations: 223.6 kB / 433 MB, free: 3.625 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.37e-05/0.01933, allocations: 32.48 kB / 433 MB, free: 3.594 MB / 362.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01933, allocations: 0 / 433 MB, free: 3.594 MB / 362.7 MB Notification: Performance of Templates: time 0.004859/0.02419, allocations: 5.633 MB / 438.7 MB, free: 13.95 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.428132945671678] Failed to read output from testmodel.py, exit status != 0: 0.030295316129922867 0.171041103 0.028701558000000002 Calling exit ...