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.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.0007432/0.0007432, allocations: 79.69 kB / 20.67 MB, free: 3.891 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.0007611/0.0007611, allocations: 170 kB / 23.95 MB, free: 0.6133 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.8413/0.8413, allocations: 158.6 MB / 185.7 MB, free: 3.039 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.1724/0.1724, allocations: 36.34 MB / 274.3 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: "" <> 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: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 414.3 MB, free: 6.109 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.778e-06/1.092e-05, allocations: 2.281 kB / 414.3 MB, free: 6.105 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT): time 0.2853/0.2853, allocations: 161.3 MB / 0.5622 GB, free: 12.02 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.002122/0.2874, allocations: 1.895 MB / 0.564 GB, free: 10.12 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002188/0.2876, allocations: 19.88 kB / 0.5641 GB, free: 10.11 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006724/0.2883, allocations: 353.5 kB / 0.5644 GB, free: 9.758 MB / 474.7 MB [/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.0008204/0.2891, allocations: 0.8318 MB / 0.5652 GB, free: 8.922 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001258/0.2904, allocations: 1.108 MB / 0.5663 GB, free: 7.812 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.001306/0.2917, allocations: 1.89 MB / 0.5681 GB, free: 5.918 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004609/0.2922, allocations: 0.5636 MB / 0.5687 GB, free: 5.336 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008465/0.293, allocations: 1.062 MB / 0.5697 GB, free: 4.273 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005571/0.2936, allocations: 0.7599 MB / 0.5705 GB, free: 3.512 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 8.885e-05/0.2937, allocations: 88 kB / 0.5705 GB, free: 3.426 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007092/0.2944, allocations: 0.623 MB / 0.5712 GB, free: 2.801 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004055/0.2948, allocations: 0.8298 MB / 0.572 GB, free: 1.969 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003877/0.2952, allocations: 0.5999 MB / 0.5725 GB, free: 1.367 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00152/0.2967, allocations: 2.458 MB / 0.5749 GB, free: 14.9 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.2967, allocations: 0 / 0.5749 GB, free: 14.9 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2967, allocations: 4 kB / 0.575 GB, free: 14.9 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.522e-05/0.2967, allocations: 0 / 0.575 GB, free: 14.9 MB / 490.7 MB 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.002346/0.299, allocations: 2.374 MB / 0.5773 GB, free: 12.48 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.2991, allocations: 8.031 kB / 0.5773 GB, free: 12.47 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001221/0.2992, allocations: 143.5 kB / 0.5774 GB, free: 12.32 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004906/0.2997, allocations: 318.4 kB / 0.5777 GB, free: 12.01 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001254/0.3009, allocations: 1.34 MB / 0.579 GB, free: 10.61 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.731e-05/0.301, allocations: 121.3 kB / 0.5791 GB, free: 10.48 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.548e-05/0.3011, allocations: 84 kB / 0.5792 GB, free: 10.4 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001294/0.3024, allocations: 1.843 MB / 0.581 GB, free: 8.328 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.441e-05/0.3024, allocations: 11.94 kB / 0.581 GB, free: 8.316 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.6e-05/0.3025, allocations: 40 kB / 0.5811 GB, free: 8.277 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.107e-05/0.3025, allocations: 34 kB / 0.5811 GB, free: 8.242 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00111/0.3036, allocations: 0.8235 MB / 0.5819 GB, free: 7.422 MB / 490.7 MB 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.00392/0.3076, allocations: 4.299 MB / 0.5861 GB, free: 3.008 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004206/0.308, allocations: 299.5 kB / 0.5864 GB, free: 2.699 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001504/0.3081, allocations: 141.7 kB / 0.5865 GB, free: 2.559 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.516e-05/0.3082, allocations: 7.859 kB / 0.5865 GB, free: 2.551 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.3082, allocations: 46.5 kB / 0.5866 GB, free: 2.496 MB / 490.7 MB Notification: Performance of pre-optimization done (n=38): time 1.473e-06/0.3082, allocations: 0 / 0.5866 GB, free: 2.496 MB / 490.7 MB Notification: Performance of matching and sorting (n=40): time 0.001604/0.3098, allocations: 1.632 MB / 0.5882 GB, free: 0.8242 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.38e-05/0.3098, allocations: 89.05 kB / 0.5883 GB, free: 0.7188 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002706/0.3125, allocations: 3.447 MB / 0.5916 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.591e-05/0.3126, allocations: 45.83 kB / 0.5917 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005189/0.3131, allocations: 0.976 MB / 0.5926 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.659e-05/0.3132, allocations: 154.7 kB / 0.5928 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001221/0.3133, allocations: 126.3 kB / 0.5929 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.871e-05/0.3134, allocations: 330 kB / 0.5932 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002288/0.3136, allocations: 205.2 kB / 0.5934 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003095/0.3139, allocations: 398.1 kB / 0.5938 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005015/0.3144, allocations: 0.5766 MB / 0.5943 GB, free: 10.28 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.3144, allocations: 0 / 0.5943 GB, free: 10.28 MB / 0.4948 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0008363/0.3153, allocations: 0.8594 MB / 0.5952 GB, free: 9.41 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.3153, allocations: 12.08 kB / 0.5952 GB, free: 9.398 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.3153, allocations: 12 kB / 0.5952 GB, free: 9.387 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.3153, allocations: 11.94 kB / 0.5952 GB, free: 9.375 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005355/0.3158, allocations: 215.7 kB / 0.5954 GB, free: 9.164 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006943/0.3165, allocations: 1.195 MB / 0.5966 GB, free: 7.922 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000363/0.3169, allocations: 40.06 kB / 0.5966 GB, free: 7.883 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.091e-05/0.3169, allocations: 36 kB / 0.5967 GB, free: 7.848 MB / 0.4948 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.0004862/0.3174, allocations: 0.5872 MB / 0.5972 GB, free: 7.25 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001819/0.3176, allocations: 226.5 kB / 0.5975 GB, free: 7.027 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005588/0.3182, allocations: 0.538 MB / 0.598 GB, free: 6.48 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.3182, allocations: 4 kB / 0.598 GB, free: 6.477 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.3182, allocations: 0.875 kB / 0.598 GB, free: 6.477 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.3182, allocations: 3.938 kB / 0.598 GB, free: 6.473 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001618/0.3198, allocations: 1.634 MB / 0.5996 GB, free: 4.781 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.594e-06/0.3198, allocations: 0 / 0.5996 GB, free: 4.781 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003748/0.3202, allocations: 132.7 kB / 0.5997 GB, free: 4.652 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-06/0.3202, allocations: 4 kB / 0.5997 GB, free: 4.648 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/0.3202, allocations: 14.56 kB / 0.5997 GB, free: 4.637 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000387/0.3206, allocations: 1.196 MB / 0.6009 GB, free: 3.395 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.3206, allocations: 8.062 kB / 0.6009 GB, free: 3.387 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007032/0.3213, allocations: 0.7608 MB / 0.6016 GB, free: 2.605 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000458/0.3217, allocations: 366.4 kB / 0.602 GB, free: 2.246 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/0.3219, allocations: 11.94 kB / 0.602 GB, free: 2.234 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003762/0.3222, allocations: 35.97 kB / 0.602 GB, free: 2.199 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.262e-05/0.3223, allocations: 27.95 kB / 0.6021 GB, free: 2.172 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.372e-05/0.3223, allocations: 23.97 kB / 0.6021 GB, free: 2.148 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002184/0.3245, allocations: 2.443 MB / 0.6045 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1e-07/0.3245, allocations: 4 kB / 0.6045 GB, free: 15.69 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000589/0.3251, allocations: 323.8 kB / 0.6048 GB, free: 15.38 MB / 0.5105 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.001812/0.3269, allocations: 1.81 MB / 0.6066 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005963/0.3275, allocations: 435.2 kB / 0.607 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.3275, allocations: 4.5 kB / 0.607 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001982/0.3277, allocations: 163.5 kB / 0.6071 GB, free: 12.95 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00142/0.3291, allocations: 0.5943 MB / 0.6077 GB, free: 12.35 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1806/0.5098, allocations: 18.7 MB / 0.626 GB, free: 184 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009106/0.5107, allocations: 0.8866 MB / 0.6268 GB, free: 183.8 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0007836/0.5114, allocations: 343.1 kB / 0.6272 GB, free: 183.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005359/0.512, allocations: 0.7289 MB / 0.6279 GB, free: 183.2 MB / 0.5105 GB Notification: Performance of SimCode: time 1.092e-06/0.512, allocations: 0 / 0.6279 GB, free: 183.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04918/0.5612, allocations: 49.15 MB / 0.6759 GB, free: 144.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.237/9.798, allocations: 11.84 kB / 0.6759 GB, free: 144.5 MB / 0.5105 GB " [Timeout remaining time 650] (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 & python3 -m fmpy simulate --output-file ThermoPower_ThermoPower.Test.GasComponents.TestGT_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 ThermoPower_ThermoPower_Test_GasComponents_TestGT.fmu > ThermoPower_ThermoPower.Test.GasComponents.TestGT.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.783652964048088] Failed to read output from testmodel.py, exit status != 0: 9.923823159188032 9.929796157 9.631800523 Calling exit ...