Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.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.001226/0.001226, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001364/0.001364, allocations: 212.2 kB / 24.53 MB, free: 4.07 MB / 14.72 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 1.322/1.322, allocations: 207.6 MB / 235.3 MB, free: 10 MB / 190.1 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.2841/0.2841, allocations: 49.57 MB / 337.1 MB, free: 4.113 MB / 270.1 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(ThermoPower.Test.ElectricalComponents.TestElectrical5,fileNamePrefix="ThermoPower_ThermoPower_Test_ElectricalComponents_TestElectrical5",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.ElectricalComponents.TestElectrical5,fileNamePrefix="ThermoPower_ThermoPower_Test_ElectricalComponents_TestElectrical5",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002195/0.002195, allocations: 63.91 kB / 477.1 MB, free: 12.95 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1195, allocations: 62.42 MB / 0.5269 GB, free: 14.34 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical5): time 0.003998/0.1235, allocations: 2.674 MB / 0.5295 GB, free: 11.64 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001413/0.1249, allocations: 0.7565 MB / 0.5302 GB, free: 10.88 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001456/0.1251, allocations: 11.94 kB / 0.5302 GB, free: 10.86 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001624/0.1252, allocations: 47.45 kB / 0.5303 GB, free: 10.82 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003217/0.1256, allocations: 127 kB / 0.5304 GB, free: 10.69 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000212/0.1258, allocations: 79.83 kB / 0.5305 GB, free: 10.61 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004741/0.1262, allocations: 402.2 kB / 0.5309 GB, free: 10.22 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001671/0.1264, allocations: 73.56 kB / 0.5309 GB, free: 10.15 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002219/0.1266, allocations: 171.3 kB / 0.5311 GB, free: 9.98 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002348/0.1269, allocations: 155.2 kB / 0.5312 GB, free: 9.828 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.437e-05/0.1269, allocations: 27.94 kB / 0.5313 GB, free: 9.801 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.509e-05/0.127, allocations: 31.94 kB / 0.5313 GB, free: 9.77 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.235e-05/0.127, allocations: 63.75 kB / 0.5314 GB, free: 9.707 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001638/0.1272, allocations: 179 kB / 0.5315 GB, free: 9.531 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000396/0.1276, allocations: 314.5 kB / 0.5318 GB, free: 9.223 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.1276, allocations: 3.938 kB / 0.5318 GB, free: 9.219 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1276, allocations: 4 kB / 0.5318 GB, free: 9.215 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.054e-06/0.1276, allocations: 4 kB / 0.5318 GB, free: 9.211 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001096/0.1287, allocations: 0.5943 MB / 0.5324 GB, free: 8.586 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.1288, allocations: 16.03 kB / 0.5324 GB, free: 8.57 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.078e-05/0.1288, allocations: 4.625 kB / 0.5324 GB, free: 8.566 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.448e-05/0.1288, allocations: 54.73 kB / 0.5325 GB, free: 8.504 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001171/0.129, allocations: 44.69 kB / 0.5325 GB, free: 8.461 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004807/0.1294, allocations: 262.3 kB / 0.5328 GB, free: 8.176 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.1295, allocations: 16.81 kB / 0.5328 GB, free: 8.16 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.047e-05/0.1295, allocations: 28.33 kB / 0.5328 GB, free: 8.133 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000446/0.13, allocations: 254.5 kB / 0.5331 GB, free: 7.867 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.13, allocations: 0 / 0.5331 GB, free: 7.867 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.142e-05/0.13, allocations: 8 kB / 0.5331 GB, free: 7.859 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.13, allocations: 4 kB / 0.5331 GB, free: 7.855 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004027/0.1304, allocations: 177.6 kB / 0.5333 GB, free: 7.68 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001187/0.1316, allocations: 0.7946 MB / 0.534 GB, free: 6.836 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003437/0.1319, allocations: 182.5 kB / 0.5342 GB, free: 6.648 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002011/0.1321, allocations: 96.81 kB / 0.5343 GB, free: 6.551 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.1322, allocations: 8 kB / 0.5343 GB, free: 6.543 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.1322, allocations: 30.56 kB / 0.5343 GB, free: 6.504 MB / 414.1 MB Notification: Performance of pre-optimization done (n=25): time 1.313e-06/0.1322, allocations: 0 / 0.5343 GB, free: 6.504 MB / 414.1 MB Notification: Performance of matching and sorting (n=27): time 0.001423/0.1336, allocations: 0.6666 MB / 0.535 GB, free: 5.809 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.992e-05/0.1337, allocations: 51.41 kB / 0.535 GB, free: 5.746 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003316/0.134, allocations: 304.5 kB / 0.5353 GB, free: 5.441 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.743e-05/0.134, allocations: 33.64 kB / 0.5354 GB, free: 5.402 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001451/0.1342, allocations: 188.8 kB / 0.5355 GB, free: 5.211 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.125e-05/0.1343, allocations: 99.12 kB / 0.5356 GB, free: 5.113 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.544e-05/0.1344, allocations: 53.7 kB / 0.5357 GB, free: 5.055 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.1345, allocations: 342.8 kB / 0.536 GB, free: 4.711 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000175/0.1347, allocations: 75.95 kB / 0.5361 GB, free: 4.637 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002035/0.1349, allocations: 118.6 kB / 0.5362 GB, free: 4.512 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003734/0.1353, allocations: 184.2 kB / 0.5364 GB, free: 4.324 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1353, allocations: 4 kB / 0.5364 GB, free: 4.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006549/0.1359, allocations: 323.1 kB / 0.5367 GB, free: 3.996 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.1359, allocations: 8 kB / 0.5367 GB, free: 3.988 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.1359, allocations: 0 / 0.5367 GB, free: 3.988 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002746/0.1362, allocations: 56.75 kB / 0.5367 GB, free: 3.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003815/0.1366, allocations: 79.95 kB / 0.5368 GB, free: 3.852 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002671/0.1393, allocations: 2.825 MB / 0.5396 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001933/0.1395, allocations: 23.91 kB / 0.5396 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.72e-05/0.1395, allocations: 8 kB / 0.5396 GB, free: 0.7656 MB / 414.1 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 (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001559/0.1396, allocations: 141.8 kB / 0.5398 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.826e-05/0.1397, allocations: 31.81 kB / 0.5398 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005108/0.1402, allocations: 273.5 kB / 0.54 GB, free: 320 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.1402, allocations: 0 / 0.54 GB, free: 320 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-06/0.1402, allocations: 4 kB / 0.54 GB, free: 316 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.1402, allocations: 3.938 kB / 0.54 GB, free: 312 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2144/0.3546, allocations: 0.6279 MB / 0.5407 GB, free: 22.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.3546, allocations: 0 / 0.5407 GB, free: 22.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003336/0.3549, allocations: 69.55 kB / 0.5407 GB, free: 22.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/0.3549, allocations: 4.781 kB / 0.5407 GB, free: 22.53 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.944e-05/0.355, allocations: 5.156 kB / 0.5407 GB, free: 22.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.355, allocations: 1.547 kB / 0.5407 GB, free: 22.53 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.355, allocations: 4.312 kB / 0.5407 GB, free: 22.53 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006571/0.3556, allocations: 442.3 kB / 0.5412 GB, free: 22.4 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001228/0.3557, allocations: 51.91 kB / 0.5412 GB, free: 22.4 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.745e-05/0.3558, allocations: 5.328 kB / 0.5412 GB, free: 22.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001878/0.356, allocations: 12.39 kB / 0.5412 GB, free: 22.4 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.85e-05/0.356, allocations: 24.47 kB / 0.5413 GB, free: 22.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/0.3561, allocations: 4.625 kB / 0.5413 GB, free: 22.4 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002133/0.3563, allocations: 216.6 kB / 0.5415 GB, free: 22.32 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3563, allocations: 0 / 0.5415 GB, free: 22.32 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003558/0.3566, allocations: 69.25 kB / 0.5415 GB, free: 22.32 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (gen_a.phi,gen_a.omega_m,gen_a.omega_e_filt,gen_b.phi,gen_b.omega_m,gen_b.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 (28): * Single equations (assignments): 28 * 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.000767/0.3574, allocations: 0.9778 MB / 0.5425 GB, free: 21.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007743/0.3582, allocations: 366.1 kB / 0.5428 GB, free: 21.54 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.3582, allocations: 1.5 kB / 0.5428 GB, free: 21.54 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001836/0.3584, allocations: 100.4 kB / 0.5429 GB, free: 21.54 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000415/0.3588, allocations: 67.25 kB / 0.543 GB, free: 21.53 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004057/0.3628, allocations: 3.373 MB / 0.5463 GB, free: 19.71 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002388/0.3631, allocations: 0.7931 MB / 0.5471 GB, free: 19 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001358/0.3632, allocations: 33.42 kB / 0.5471 GB, free: 18.99 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001498/0.3633, allocations: 116.1 kB / 0.5472 GB, free: 18.91 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3633, allocations: 4 kB / 0.5472 GB, free: 18.9 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03274/0.3961, allocations: 7.315 MB / 0.5544 GB, free: 17.86 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.71, allocations: 10.91 kB / 0.5544 GB, free: 17.85 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_ElectricalComponents_TestElectrical5_fmu --startTime=0 --stopTime=15 --stepSize=0.006 --timeout=50 --tolerance=1e-07 ThermoPower_ThermoPower_Test_ElectricalComponents_TestElectrical5.fmu > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.415054170996882] Failed to read output from testmodel.py, exit status != 0: 11.874807056039572 11.886767632 11.756703927 Calling exit ...