Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_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.0008652/0.0008652, 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.004075/0.004075, allocations: 160.7 kB / 24.7 MB, free: 9.41 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.8636/0.8636, allocations: 177.1 MB / 205 MB, free: 5.727 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.08333/0.08333, allocations: 19.74 MB / 281.2 MB, free: 9.449 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_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 417.8 MB, free: 7.402 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.91e-05/2.055e-05, allocations: 7.469 kB / 417.8 MB, free: 7.395 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical1): time 0.001962/0.001982, allocations: 1.992 MB / 419.8 MB, free: 6.047 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007506/0.002733, allocations: 0.5743 MB / 420.4 MB, free: 5.652 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.113e-05/0.002824, allocations: 6.781 kB / 420.4 MB, free: 5.648 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001065/0.00293, allocations: 23.67 kB / 420.4 MB, free: 5.633 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001672/0.003098, allocations: 75.22 kB / 420.5 MB, free: 5.578 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001234/0.003221, allocations: 38.47 kB / 420.5 MB, free: 5.559 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001894/0.00341, allocations: 220.1 kB / 420.7 MB, free: 5.445 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.003534, allocations: 26.88 kB / 420.7 MB, free: 5.434 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001884/0.003722, allocations: 129.8 kB / 420.9 MB, free: 5.379 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.003825, allocations: 58.48 kB / 420.9 MB, free: 5.363 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.366e-05/0.003849, allocations: 11.88 kB / 420.9 MB, free: 5.363 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.939e-05/0.003898, allocations: 18.45 kB / 421 MB, free: 5.359 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.429e-05/0.003922, allocations: 35.22 kB / 421 MB, free: 5.336 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.263e-05/0.003975, allocations: 57.94 kB / 421 MB, free: 5.312 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000206/0.004181, allocations: 162 kB / 421.2 MB, free: 5.242 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.004184, allocations: 2.062 kB / 421.2 MB, free: 5.242 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.004185, allocations: 0 / 421.2 MB, free: 5.242 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.004189, allocations: 0 / 421.2 MB, free: 5.242 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0004921/0.004681, allocations: 427.6 kB / 421.6 MB, free: 4.883 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.004715, allocations: 13.72 kB / 421.6 MB, free: 4.879 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.047e-05/0.004785, allocations: 24.22 kB / 421.7 MB, free: 4.867 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000197/0.004982, allocations: 183 kB / 421.8 MB, free: 4.699 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.004994, allocations: 9.531 kB / 421.8 MB, free: 4.695 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.703e-05/0.005021, allocations: 20.52 kB / 421.9 MB, free: 4.684 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/0.005184, allocations: 129 kB / 422 MB, free: 4.605 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.005196, allocations: 0.7969 kB / 422 MB, free: 4.605 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.005207, allocations: 5.625 kB / 422 MB, free: 4.602 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.005213, allocations: 6.281 kB / 422 MB, free: 4.598 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001197/0.005332, allocations: 81.84 kB / 422.1 MB, free: 4.574 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004508/0.005783, allocations: 432.8 kB / 422.5 MB, free: 4.227 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001927/0.005976, allocations: 110.1 kB / 422.6 MB, free: 4.168 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.249e-05/0.006028, allocations: 46.59 kB / 422.7 MB, free: 4.145 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.193e-05/0.00604, allocations: 2.141 kB / 422.7 MB, free: 4.145 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.048e-05/0.006051, allocations: 32.06 kB / 422.7 MB, free: 4.105 MB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 1.102e-06/0.006052, allocations: 0 / 422.7 MB, free: 4.105 MB / 330.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005147/0.006567, allocations: 372.3 kB / 423.1 MB, free: 3.848 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.002e-05/0.006587, allocations: 56.34 kB / 423.1 MB, free: 3.781 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.006712, allocations: 207.9 kB / 423.3 MB, free: 3.645 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.963e-06/0.006719, allocations: 31.52 kB / 423.3 MB, free: 3.609 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.8e-05/0.006767, allocations: 135.5 kB / 423.5 MB, free: 3.484 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.058e-05/0.006788, allocations: 48.52 kB / 423.5 MB, free: 3.445 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.361e-05/0.006821, allocations: 28.98 kB / 423.6 MB, free: 3.422 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.414e-05/0.006855, allocations: 329 kB / 423.9 MB, free: 3.102 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.69e-05/0.006902, allocations: 29.8 kB / 423.9 MB, free: 3.094 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.06e-05/0.006953, allocations: 56.02 kB / 424 MB, free: 3.059 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.624e-05/0.007049, allocations: 92.92 kB / 424.1 MB, free: 3.004 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.007051, allocations: 5.062 kB / 424.1 MB, free: 3 MB / 330.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001431/0.007194, allocations: 141.5 kB / 424.2 MB, free: 2.926 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.007206, allocations: 8.031 kB / 424.2 MB, free: 2.926 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.007211, allocations: 0 / 424.2 MB, free: 2.926 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.007222, allocations: 2.703 kB / 424.2 MB, free: 2.926 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.421e-05/0.007316, allocations: 37.05 kB / 424.2 MB, free: 2.922 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.007322, allocations: 5.031 kB / 424.2 MB, free: 2.918 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.38e-05/0.007376, allocations: 9.078 kB / 424.3 MB, free: 2.914 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.007383, allocations: 6.812 kB / 424.3 MB, free: 2.91 MB / 330.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 5.11e-05/0.007434, allocations: 125.9 kB / 424.4 MB, free: 2.785 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.03e-05/0.007454, allocations: 15.84 kB / 424.4 MB, free: 2.777 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.076e-05/0.007485, allocations: 21.2 kB / 424.4 MB, free: 2.766 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.007487, allocations: 1.219 kB / 424.4 MB, free: 2.766 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.007492, allocations: 7.875 kB / 424.4 MB, free: 2.758 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.007496, allocations: 1.938 kB / 424.4 MB, free: 2.758 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002906/0.007787, allocations: 359 kB / 424.8 MB, free: 2.477 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.007789, allocations: 4.516 kB / 424.8 MB, free: 2.473 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.637e-05/0.007875, allocations: 35.28 kB / 424.8 MB, free: 2.465 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.007878, allocations: 3.984 kB / 424.8 MB, free: 2.461 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.007886, allocations: 5.703 kB / 424.8 MB, free: 2.457 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.007887, allocations: 1.156 kB / 424.8 MB, free: 2.457 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.007888, allocations: 3.938 kB / 424.8 MB, free: 2.453 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001939/0.008082, allocations: 255.7 kB / 425.1 MB, free: 2.277 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.467e-05/0.008116, allocations: 26.25 kB / 425.1 MB, free: 2.262 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.687e-05/0.008133, allocations: 5.094 kB / 425.1 MB, free: 2.258 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.519e-05/0.008188, allocations: 8.578 kB / 425.1 MB, free: 2.254 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.544e-05/0.008214, allocations: 6.219 kB / 425.1 MB, free: 2.254 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.008219, allocations: 11.41 kB / 425.1 MB, free: 2.246 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.289e-05/0.008302, allocations: 154.7 kB / 425.3 MB, free: 2.145 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008302, allocations: 0 / 425.3 MB, free: 2.145 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001636/0.008466, allocations: 32.2 kB / 425.3 MB, free: 2.141 MB / 330.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 5.361e-05/0.008519, allocations: 90.77 kB / 425.4 MB, free: 2.055 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000134/0.008653, allocations: 86.42 kB / 425.5 MB, free: 2.027 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.008655, allocations: 128 / 425.5 MB, free: 2.027 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.768e-05/0.008702, allocations: 50.7 kB / 425.5 MB, free: 2.008 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002329/0.008935, allocations: 34.88 kB / 425.6 MB, free: 1.996 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005277/0.009463, allocations: 465.3 kB / 426 MB, free: 1.652 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.111e-05/0.009534, allocations: 118 kB / 426.2 MB, free: 1.574 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.576e-05/0.00957, allocations: 18.91 kB / 426.2 MB, free: 1.566 MB / 330.7 MB Notification: Performance of SimCode: time 6.31e-07/0.00957, allocations: 0 / 426.2 MB, free: 1.566 MB / 330.7 MB Notification: Performance of Templates: time 0.002976/0.01255, allocations: 2.041 MB / 428.2 MB, free: 1.363 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.271933834068477] Failed to read output from testmodel.py, exit status != 0: 0.016842356882989407 0.025391134000000003 0.019562778000000003 Calling exit ...