Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 122.1 kB / 19.44 MB, free: 2.398 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002043/0.002043, allocations: 197.8 kB / 22.67 MB, free: 5.113 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.547/1.547, allocations: 207.6 MB / 233.4 MB, free: 11.01 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3051/0.3051, allocations: 49.52 MB / 335 MB, free: 4.504 MB / 270.1 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestGT,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestGT,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGT",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002418/0.002418, allocations: 72.45 kB / 474.7 MB, free: 13.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1196, allocations: 62.32 MB / 0.5244 GB, free: 14.96 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT): time 0.4851/0.6048, allocations: 187 MB / 0.707 GB, free: 11.79 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004155/0.6089, allocations: 1.95 MB / 0.7089 GB, free: 9.836 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005021/0.6094, allocations: 15.94 kB / 0.709 GB, free: 9.82 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001068/0.6105, allocations: 377.5 kB / 0.7093 GB, free: 9.449 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.001513/0.612, allocations: 0.8128 MB / 0.7101 GB, free: 8.633 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002726/0.6147, allocations: 1.074 MB / 0.7112 GB, free: 7.559 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002576/0.6173, allocations: 1.879 MB / 0.713 GB, free: 5.676 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009394/0.6182, allocations: 0.5667 MB / 0.7135 GB, free: 5.094 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001418/0.6196, allocations: 0.8406 MB / 0.7144 GB, free: 4.254 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001119/0.6208, allocations: 0.8567 MB / 0.7152 GB, free: 3.395 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001587/0.6209, allocations: 88 kB / 0.7153 GB, free: 3.309 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001593/0.6225, allocations: 0.6974 MB / 0.716 GB, free: 2.609 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0008003/0.6233, allocations: 0.8024 MB / 0.7167 GB, free: 1.805 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001029/0.6243, allocations: 0.9515 MB / 0.7177 GB, free: 0.8477 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003036/0.6274, allocations: 2.45 MB / 0.7201 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.6274, allocations: 4 kB / 0.7201 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6274, allocations: 0 / 0.7201 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.717e-05/0.6274, allocations: 0 / 0.7201 GB, free: 14.39 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.004457/0.6319, allocations: 2.472 MB / 0.7225 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.6319, allocations: 11.89 kB / 0.7225 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002139/0.6321, allocations: 143.5 kB / 0.7226 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001014/0.6332, allocations: 318.4 kB / 0.7229 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002538/0.6357, allocations: 1.417 MB / 0.7243 GB, free: 9.887 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000115/0.6358, allocations: 95.7 kB / 0.7244 GB, free: 9.789 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001294/0.6359, allocations: 84 kB / 0.7245 GB, free: 9.707 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001893/0.6378, allocations: 1.14 MB / 0.7256 GB, free: 8.508 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.211e-05/0.6379, allocations: 7.938 kB / 0.7256 GB, free: 8.5 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001117/0.638, allocations: 40.69 kB / 0.7257 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.792e-05/0.638, allocations: 34 kB / 0.7257 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001394/0.6394, allocations: 0.8312 MB / 0.7265 GB, free: 7.598 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008701/0.6481, allocations: 5.111 MB / 0.7315 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007238/0.6488, allocations: 302.4 kB / 0.7318 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002471/0.6491, allocations: 133.7 kB / 0.7319 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.854e-05/0.6491, allocations: 4.594 kB / 0.7319 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.695e-05/0.6492, allocations: 44.31 kB / 0.732 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=38): time 2.444e-06/0.6492, allocations: 4 kB / 0.732 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of matching and sorting (n=40): time 0.003019/0.6522, allocations: 1.708 MB / 0.7336 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.487e-05/0.6523, allocations: 81.11 kB / 0.7337 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004714/0.657, allocations: 3.439 MB / 0.7371 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001385/0.6571, allocations: 37.7 kB / 0.7371 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001035/0.6582, allocations: 0.9877 MB / 0.7381 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001741/0.6583, allocations: 150.9 kB / 0.7382 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002642/0.6586, allocations: 134.2 kB / 0.7383 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001853/0.6588, allocations: 329.9 kB / 0.7386 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003916/0.6592, allocations: 205.2 kB / 0.7388 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005768/0.6598, allocations: 398.9 kB / 0.7392 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008862/0.6607, allocations: 0.5756 MB / 0.7398 GB, free: 9.438 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.6607, allocations: 0 / 0.7398 GB, free: 9.438 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001556/0.6622, allocations: 0.8653 MB / 0.7406 GB, free: 8.566 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.6622, allocations: 7.906 kB / 0.7406 GB, free: 8.559 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.6622, allocations: 8 kB / 0.7406 GB, free: 8.551 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.584e-05/0.6623, allocations: 11.98 kB / 0.7407 GB, free: 8.539 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001102/0.6634, allocations: 223.9 kB / 0.7409 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008851/0.6643, allocations: 1.202 MB / 0.742 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008756/0.6651, allocations: 43.86 kB / 0.7421 GB, free: 7.035 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.465e-05/0.6652, allocations: 28.19 kB / 0.7421 GB, free: 7.008 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 1 (BooleanStep1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009254/0.6661, allocations: 0.595 MB / 0.7427 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003637/0.6665, allocations: 230.5 kB / 0.7429 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008973/0.6674, allocations: 0.5264 MB / 0.7434 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.196e-06/0.6674, allocations: 7.938 kB / 0.7434 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.6674, allocations: 0 / 0.7434 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.635e-06/0.6674, allocations: 3.984 kB / 0.7434 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003048/0.6705, allocations: 1.83 MB / 0.7452 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.6705, allocations: 0 / 0.7452 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007597/0.6712, allocations: 127.8 kB / 0.7454 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.367e-06/0.6712, allocations: 4 kB / 0.7454 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.909e-05/0.6713, allocations: 12 kB / 0.7454 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007825/0.672, allocations: 1.199 MB / 0.7465 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.672, allocations: 0.8125 kB / 0.7465 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001199/0.6732, allocations: 0.7727 MB / 0.7473 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001028/0.6743, allocations: 443.5 kB / 0.7477 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002101/0.6745, allocations: 8 kB / 0.7477 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007691/0.6752, allocations: 35.97 kB / 0.7478 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.389e-05/0.6753, allocations: 31.89 kB / 0.7478 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.433e-05/0.6754, allocations: 23.92 kB / 0.7478 GB, free: 1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003406/0.6788, allocations: 2.447 MB / 0.7502 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6788, allocations: 0 / 0.7502 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001259/0.68, allocations: 339.7 kB / 0.7505 GB, free: 14.21 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (Generator.phi,Generator.omega_m,Generator.omega_e_filt,Grid.port.theta) * Number of discrete variables: 1 (BooleanStep1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003549/0.6836, allocations: 1.775 MB / 0.7523 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001038/0.6846, allocations: 447.7 kB / 0.7527 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.094e-06/0.6846, allocations: 4.562 kB / 0.7527 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003601/0.685, allocations: 159.6 kB / 0.7528 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002836/0.6878, allocations: 0.5789 MB / 0.7534 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.274/0.9618, allocations: 18.63 MB / 0.7716 GB, free: 204.3 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001348/0.9631, allocations: 1.464 MB / 0.773 GB, free: 203.5 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001169/0.9643, allocations: 346.5 kB / 0.7734 GB, free: 203.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007945/0.9651, allocations: 0.7306 MB / 0.7741 GB, free: 202.9 MB / 0.5919 GB Notification: Performance of SimCode: time 9.82e-07/0.9651, allocations: 0 / 0.7741 GB, free: 202.9 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08357/1.049, allocations: 46.59 MB / 0.8196 GB, free: 175 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.63/17.67, allocations: 19.83 kB / 0.8196 GB, free: 174.9 MB / 0.5919 GB " [Timeout remaining time 642] (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestGT.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestGT.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestGT.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestGT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_GasComponents_TestGT_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_GasComponents_TestGT.fmu > ThermoPower_ThermoPower.Test.GasComponents.TestGT.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 20.831835666904226] Failed to read output from testmodel.py, exit status != 0: 17.853651474928483 17.868246207 17.237720127 Calling exit ...