Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestGasTurbineStodola,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGasTurbineStodola",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestGasTurbineStodola,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGasTurbineStodola",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001749/0.001749, allocations: 177.1 kB / 13.64 MB, free: 1.672 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.41/1.41, allocations: 205.2 MB / 219.4 MB, free: 14.2 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008617/0.0008618, allocations: 90.64 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2516/0.2516, allocations: 48.78 MB / 364.3 MB, free: 6.871 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.677e-05/3.687e-05, allocations: 4 kB / 432.6 MB, free: 16.67 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1205, allocations: 60.25 MB / 492.8 MB, free: 4.285 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.996/2.117, allocations: 0.7185 GB / 1.2 GB, free: 93.2 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002745/2.117, allocations: 79.47 kB / 1.2 GB, free: 93.16 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.8273/2.944, allocations: 201.8 MB / 1.397 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.024e-06/2.944, allocations: 0 / 1.397 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001248/2.945, allocations: 20 kB / 1.397 GB, free: 104.6 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.002837/2.947, allocations: 0.9164 MB / 1.398 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.948e-05/2.948, allocations: 12.03 kB / 1.398 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002575/2.948, allocations: 94.52 kB / 1.398 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009967/2.949, allocations: 135 kB / 1.398 GB, free: 103.4 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001501/2.95, allocations: 0.5355 MB / 1.399 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.012e-05/2.95, allocations: 37.31 kB / 1.399 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001721/2.951, allocations: 48 kB / 1.399 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001362/2.952, allocations: 0.5848 MB / 1.399 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.613e-05/2.952, allocations: 0 / 1.399 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001277/2.952, allocations: 31.92 kB / 1.399 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.678e-05/2.952, allocations: 16 kB / 1.399 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008927/2.953, allocations: 449 kB / 1.4 GB, free: 101.6 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.005686/2.959, allocations: 2.31 MB / 1.402 GB, free: 99.14 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002689/2.959, allocations: 138.6 kB / 1.402 GB, free: 98.99 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.398e-05/2.959, allocations: 56.84 kB / 1.402 GB, free: 98.93 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002715/2.959, allocations: 121.1 kB / 1.402 GB, free: 98.8 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/2.96, allocations: 38.56 kB / 1.402 GB, free: 98.75 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=15): time 2.364e-06/2.96, allocations: 0 / 1.402 GB, free: 98.75 MB / 0.5105 GB Notification: Performance of matching and sorting (n=15): time 0.0005282/2.96, allocations: 202.4 kB / 1.402 GB, free: 98.55 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/2.96, allocations: 55.36 kB / 1.403 GB, free: 98.48 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001094/2.961, allocations: 0.8827 MB / 1.403 GB, free: 97.59 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.177e-05/2.961, allocations: 29.7 kB / 1.403 GB, free: 97.55 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002234/2.962, allocations: 391 kB / 1.404 GB, free: 97.17 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.818e-05/2.962, allocations: 55.2 kB / 1.404 GB, free: 97.11 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.76e-05/2.962, allocations: 8 kB / 1.404 GB, free: 97.11 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.672e-05/2.962, allocations: 318 kB / 1.404 GB, free: 96.79 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001823/2.962, allocations: 133.7 kB / 1.404 GB, free: 96.66 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000212/2.962, allocations: 243.1 kB / 1.404 GB, free: 96.36 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000218/2.962, allocations: 148.7 kB / 1.405 GB, free: 96.21 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/2.962, allocations: 4 kB / 1.405 GB, free: 96.21 MB / 0.5105 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007059/2.963, allocations: 458.2 kB / 1.405 GB, free: 95.76 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/2.963, allocations: 8 kB / 1.405 GB, free: 95.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/2.963, allocations: 4.562 kB / 1.405 GB, free: 95.75 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.214e-05/2.963, allocations: 15.94 kB / 1.405 GB, free: 95.73 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004798/2.964, allocations: 111.9 kB / 1.405 GB, free: 95.62 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003304/2.964, allocations: 0.6093 MB / 1.406 GB, free: 94.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005704/2.964, allocations: 75.2 kB / 1.406 GB, free: 94.91 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.329e-05/2.965, allocations: 27.98 kB / 1.406 GB, free: 94.89 MB / 0.5105 GB Warning: Assuming fixed start value for the following 1 variables: ConstantSpeed1.phi:VARIABLE(unit = "rad" ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001924/2.965, allocations: 132.9 kB / 1.406 GB, free: 94.75 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001443/2.965, allocations: 75.06 kB / 1.406 GB, free: 94.68 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004162/2.965, allocations: 224 kB / 1.406 GB, free: 94.45 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/2.965, allocations: 4 kB / 1.406 GB, free: 94.45 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/2.965, allocations: 0 / 1.406 GB, free: 94.45 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/2.965, allocations: 0 / 1.406 GB, free: 94.45 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001132/2.967, allocations: 0.8323 MB / 1.407 GB, free: 93.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/2.967, allocations: 4 kB / 1.407 GB, free: 93.54 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002193/2.967, allocations: 47.91 kB / 1.407 GB, free: 93.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/2.967, allocations: 96 / 1.407 GB, free: 93.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.044e-05/2.967, allocations: 11.98 kB / 1.407 GB, free: 93.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002505/2.967, allocations: 0.5979 MB / 1.408 GB, free: 92.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/2.967, allocations: 0 / 1.408 GB, free: 92.86 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004653/2.968, allocations: 425.3 kB / 1.408 GB, free: 92.41 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002801/2.968, allocations: 188.2 kB / 1.408 GB, free: 92.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/2.968, allocations: 3.953 kB / 1.408 GB, free: 92.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004364/2.968, allocations: 23.97 kB / 1.408 GB, free: 92.18 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.305e-05/2.968, allocations: 11.98 kB / 1.408 GB, free: 92.16 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.014e-05/2.968, allocations: 15.98 kB / 1.408 GB, free: 92.15 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007937/2.969, allocations: 0.6866 MB / 1.409 GB, free: 91.46 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.61e-07/2.969, allocations: 0 / 1.409 GB, free: 91.46 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001078/2.97, allocations: 271.8 kB / 1.409 GB, free: 91.2 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (ConstantSpeed1.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003066/2.973, allocations: 2.047 MB / 1.411 GB, free: 89.11 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000487/2.974, allocations: 227.8 kB / 1.412 GB, free: 88.88 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.83e-06/2.974, allocations: 0 / 1.412 GB, free: 88.88 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001287/2.974, allocations: 63.92 kB / 1.412 GB, free: 88.82 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001583/2.976, allocations: 304.1 kB / 1.412 GB, free: 88.53 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002291/2.978, allocations: 1.035 MB / 1.413 GB, free: 87.44 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004276/2.978, allocations: 0.941 MB / 1.414 GB, free: 86.47 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005559/2.979, allocations: 137.7 kB / 1.414 GB, free: 86.33 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003172/2.979, allocations: 239.3 kB / 1.414 GB, free: 86.1 MB / 0.5105 GB Notification: Performance of SimCode: time 9.52e-07/2.979, allocations: 0 / 1.414 GB, free: 86.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06219/3.042, allocations: 32.51 MB / 1.446 GB, free: 53.53 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002002/3.042, allocations: 222.7 kB / 1.446 GB, free: 53.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.392/6.434, allocations: 3.938 kB / 1.446 GB, free: 53.3 MB / 0.5105 GB (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_GasComponents_TestGasTurbineStodola_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_GasComponents_TestGasTurbineStodola.fmu > ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.pipe 2>&1)