Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2.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.001844/0.001844, allocations: 109.2 kB / 20.43 MB, free: 1.473 MB / 14.72 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.001424/0.001424, allocations: 213.8 kB / 23.74 MB, free: 4.688 MB / 14.72 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 1.431/1.431, allocations: 230.6 MB / 257.5 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] 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.1627/0.1627, allocations: 26.82 MB / 340.7 MB, free: 8.223 MB / 270.1 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: "" <> buildModelFMU(ThermoPower.Test.ElectricalComponents.TestElectrical2,fileNamePrefix="ThermoPower_4_0_0-dev_ThermoPower_Test_ElectricalComponents_TestElectrical2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.ElectricalComponents.TestElectrical2,fileNamePrefix="ThermoPower_4_0_0-dev_ThermoPower_Test_ElectricalComponents_TestElectrical2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ThermoPower requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002067/0.002067, allocations: 67.89 kB / 476.8 MB, free: 3.707 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.3431, allocations: 60.48 MB / 0.5247 GB, free: 9.562 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical2): time 0.003325/0.3464, allocations: 2.224 MB / 0.5269 GB, free: 8.008 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001093/0.3475, allocations: 0.6349 MB / 0.5275 GB, free: 7.559 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001177/0.3476, allocations: 2.219 kB / 0.5275 GB, free: 7.559 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001275/0.3477, allocations: 28.64 kB / 0.5275 GB, free: 7.539 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002038/0.3479, allocations: 76.19 kB / 0.5276 GB, free: 7.484 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001393/0.3481, allocations: 50.58 kB / 0.5277 GB, free: 7.457 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002674/0.3484, allocations: 252.9 kB / 0.5279 GB, free: 7.328 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/0.3485, allocations: 41.69 kB / 0.5279 GB, free: 7.309 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002091/0.3487, allocations: 109.3 kB / 0.528 GB, free: 7.258 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000171/0.3489, allocations: 102.2 kB / 0.5281 GB, free: 7.207 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.815e-05/0.3489, allocations: 15.81 kB / 0.5282 GB, free: 7.207 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.163e-05/0.349, allocations: 17.67 kB / 0.5282 GB, free: 7.207 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.531e-05/0.349, allocations: 48.5 kB / 0.5282 GB, free: 7.172 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.583e-05/0.3491, allocations: 102.6 kB / 0.5283 GB, free: 7.109 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002424/0.3493, allocations: 197.4 kB / 0.5285 GB, free: 7.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.3493, allocations: 1.375 kB / 0.5285 GB, free: 7.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3493, allocations: 0 / 0.5285 GB, free: 7.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.3493, allocations: 4 kB / 0.5285 GB, free: 7.016 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0007242/0.3501, allocations: 473.4 kB / 0.529 GB, free: 6.637 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.3501, allocations: 10.5 kB / 0.529 GB, free: 6.637 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.824e-05/0.3502, allocations: 45.48 kB / 0.529 GB, free: 6.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.761e-05/0.3503, allocations: 25.94 kB / 0.529 GB, free: 6.578 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003321/0.3506, allocations: 202.2 kB / 0.5292 GB, free: 6.402 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.3506, allocations: 9.094 kB / 0.5292 GB, free: 6.398 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.876e-05/0.3506, allocations: 23.56 kB / 0.5293 GB, free: 6.387 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002927/0.3509, allocations: 151.7 kB / 0.5294 GB, free: 6.301 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.3509, allocations: 1.156 kB / 0.5294 GB, free: 6.301 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/0.351, allocations: 5.125 kB / 0.5294 GB, free: 6.297 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.353e-06/0.351, allocations: 15.44 kB / 0.5294 GB, free: 6.285 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002472/0.3512, allocations: 99.69 kB / 0.5295 GB, free: 6.262 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008011/0.352, allocations: 0.5432 MB / 0.5301 GB, free: 5.84 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000232/0.3522, allocations: 125.8 kB / 0.5302 GB, free: 5.777 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001343/0.3524, allocations: 66.52 kB / 0.5302 GB, free: 5.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/0.3524, allocations: 1.719 kB / 0.5302 GB, free: 5.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.933e-05/0.3524, allocations: 36.16 kB / 0.5303 GB, free: 5.707 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.163e-06/0.3524, allocations: 0.5 kB / 0.5303 GB, free: 5.707 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.001166/0.3536, allocations: 497.6 kB / 0.5307 GB, free: 5.406 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.531e-05/0.3536, allocations: 54.77 kB / 0.5308 GB, free: 5.344 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002731/0.3539, allocations: 223.5 kB / 0.531 GB, free: 5.203 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.3539, allocations: 30.92 kB / 0.531 GB, free: 5.168 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.081e-05/0.354, allocations: 137.1 kB / 0.5312 GB, free: 5.047 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.475e-05/0.354, allocations: 64.69 kB / 0.5312 GB, free: 4.996 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.253e-05/0.3541, allocations: 46.66 kB / 0.5313 GB, free: 4.961 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.425e-05/0.3542, allocations: 330.2 kB / 0.5316 GB, free: 4.641 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/0.3543, allocations: 51.19 kB / 0.5316 GB, free: 4.625 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001518/0.3544, allocations: 78.22 kB / 0.5317 GB, free: 4.582 MB / 382.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: grid.f = grid.fnom (0.15915494309189535 * generator.omega_e_nom = grid.fnom) Notification: Performance of analyzeInitialSystem (initialization): time 0.001097/0.3555, allocations: 349.3 kB / 0.532 GB, free: 4.457 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.3555, allocations: 3.938 kB / 0.5321 GB, free: 4.453 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000317/0.3559, allocations: 193.8 kB / 0.5322 GB, free: 4.359 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.3559, allocations: 5.938 kB / 0.5322 GB, free: 4.359 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.3559, allocations: 1.797 kB / 0.5322 GB, free: 4.359 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.3559, allocations: 1.156 kB / 0.5322 GB, free: 4.359 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002459/0.3561, allocations: 62.41 kB / 0.5323 GB, free: 4.352 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.3562, allocations: 1.891 kB / 0.5323 GB, free: 4.352 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001265/0.3563, allocations: 10.67 kB / 0.5323 GB, free: 4.348 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.3563, allocations: 4.562 kB / 0.5323 GB, free: 4.348 MB / 382.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: grid.f = grid.fnom. 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 (23): * Single equations (assignments): 23 * 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 8.855e-05/0.3564, allocations: 135.6 kB / 0.5325 GB, free: 4.215 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.357e-05/0.3564, allocations: 26.88 kB / 0.5325 GB, free: 4.199 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.498e-05/0.3565, allocations: 37.56 kB / 0.5325 GB, free: 4.164 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.3565, allocations: 6.219 kB / 0.5325 GB, free: 4.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.3565, allocations: 4.594 kB / 0.5325 GB, free: 4.156 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.3565, allocations: 0.5625 kB / 0.5325 GB, free: 4.156 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006705/0.3572, allocations: 499.1 kB / 0.533 GB, free: 3.801 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3572, allocations: 0 / 0.533 GB, free: 3.801 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002631/0.3574, allocations: 55.19 kB / 0.5331 GB, free: 3.793 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.3574, allocations: 1.375 kB / 0.5331 GB, free: 3.793 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.3574, allocations: 5.906 kB / 0.5331 GB, free: 3.789 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.3574, allocations: 1.062 kB / 0.5331 GB, free: 3.789 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3574, allocations: 0 / 0.5331 GB, free: 3.789 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004664/0.3579, allocations: 335.5 kB / 0.5334 GB, free: 3.582 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.163e-05/0.358, allocations: 35.52 kB / 0.5334 GB, free: 3.559 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.402e-05/0.358, allocations: 2.125 kB / 0.5334 GB, free: 3.559 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.3582, allocations: 14.09 kB / 0.5334 GB, free: 3.551 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.484e-05/0.3582, allocations: 9.438 kB / 0.5334 GB, free: 3.551 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.3582, allocations: 8.609 kB / 0.5334 GB, free: 3.547 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001671/0.3584, allocations: 168 kB / 0.5336 GB, free: 3.438 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3584, allocations: 0 / 0.5336 GB, free: 3.438 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003128/0.3587, allocations: 39.84 kB / 0.5336 GB, free: 3.434 MB / 382.1 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 (18): * Single equations (assignments): 18 * 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 0.0006539/0.3594, allocations: 0.8593 MB / 0.5345 GB, free: 2.695 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000366/0.3597, allocations: 132.7 kB / 0.5346 GB, free: 2.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3597, allocations: 0 / 0.5346 GB, free: 2.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001519/0.3599, allocations: 70.34 kB / 0.5347 GB, free: 2.637 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000409/0.3603, allocations: 51.47 kB / 0.5347 GB, free: 2.613 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002875/0.3632, allocations: 2.445 MB / 0.5371 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001794/0.3634, allocations: 0.7375 MB / 0.5378 GB, free: 156 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.32e-05/0.3634, allocations: 21.56 kB / 0.5379 GB, free: 148 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.3636, allocations: 61.17 kB / 0.5379 GB, free: 104 kB / 382.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3636, allocations: 3.938 kB / 0.5379 GB, free: 100 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03684/0.4004, allocations: 4.589 MB / 0.5424 GB, free: 14.53 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.8/11.2, allocations: 1.531 kB / 0.5424 GB, free: 14.53 MB / 398.1 MB " [Timeout remaining time 649] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_4_0_0-dev_ThermoPower_Test_ElectricalComponents_TestElectrical2_fmu --startTime=0 --stopTime=5 --stepSize=0.005 --timeout=50 --tolerance=1e-06 ThermoPower_4_0_0-dev_ThermoPower_Test_ElectricalComponents_TestElectrical2.fmu > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.87186912598554] Failed to read output from testmodel.py, exit status != 0: 11.301440321956761 11.317821922 10.965324826 Calling exit ...