Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGT_ISO.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.TestGT_ISO,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGT_ISO",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestGT_ISO,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGT_ISO",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.001447/0.001447, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.693/1.693, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009597/0.000959, allocations: 88.2 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.544/0.5441, allocations: 48.77 MB / 358.8 MB, free: 53.16 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.315e-05/2.322e-05, allocations: 4 kB / 425.4 MB, free: 8.141 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1614, allocations: 60.28 MB / 485.7 MB, free: 11.72 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.304/2.466, allocations: 0.7521 GB / 1.226 GB, free: 55.11 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002641/2.466, allocations: 77.09 kB / 1.226 GB, free: 55.07 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 2.254/4.72, allocations: 0.5584 GB / 1.785 GB, free: 80.09 MB / 0.5108 GB Notification: Performance of FrontEnd: time 3.356e-06/4.72, allocations: 2.781 kB / 1.785 GB, free: 80.09 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 7.744e-05/4.72, allocations: 24.77 kB / 1.785 GB, free: 80.09 MB / 0.5108 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 234 * Number of variables: 234 Notification: Performance of Generate backend data structure: time 0.002321/4.723, allocations: 1.195 MB / 1.786 GB, free: 79.31 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/4.723, allocations: 12.56 kB / 1.786 GB, free: 79.31 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009375/4.724, allocations: 230.3 kB / 1.786 GB, free: 79.23 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001418/4.725, allocations: 0.794 MB / 1.787 GB, free: 78.77 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.962e-05/4.725, allocations: 29.56 kB / 1.787 GB, free: 78.77 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/4.725, allocations: 60.91 kB / 1.787 GB, free: 78.77 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00126/4.726, allocations: 0.8231 MB / 1.788 GB, free: 78.47 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001548/4.728, allocations: 1.061 MB / 1.789 GB, free: 78.02 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.684e-05/4.728, allocations: 3.969 kB / 1.789 GB, free: 78.02 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.831e-05/4.728, allocations: 3.969 kB / 1.789 GB, free: 78.02 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.472e-05/4.728, allocations: 40.31 kB / 1.789 GB, free: 78.01 MB / 0.5108 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.006289/4.734, allocations: 4.718 MB / 1.794 GB, free: 74.75 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006318/4.735, allocations: 379.5 kB / 1.794 GB, free: 74.59 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002134/4.735, allocations: 163.3 kB / 1.794 GB, free: 74.52 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 5.695e-05/4.735, allocations: 9.297 kB / 1.794 GB, free: 74.52 MB / 0.5108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/4.735, allocations: 53.86 kB / 1.794 GB, free: 74.46 MB / 0.5108 GB Notification: Performance of pre-optimization done (n=40): time 3.246e-06/4.735, allocations: 0 / 1.794 GB, free: 74.46 MB / 0.5108 GB Notification: Performance of matching and sorting (n=40): time 0.001173/4.737, allocations: 0.5083 MB / 1.795 GB, free: 74.25 MB / 0.5108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.506e-05/4.737, allocations: 136.4 kB / 1.795 GB, free: 74.09 MB / 0.5108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001035/4.738, allocations: 0.9272 MB / 1.796 GB, free: 73.75 MB / 0.5108 GB Notification: Performance of collectPreVariables (initialization): time 6.879e-05/4.738, allocations: 29.27 kB / 1.796 GB, free: 73.72 MB / 0.5108 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003391/4.738, allocations: 0.5702 MB / 1.796 GB, free: 73.27 MB / 0.5108 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001031/4.738, allocations: 134.8 kB / 1.796 GB, free: 73.16 MB / 0.5108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.794e-05/4.738, allocations: 2.969 kB / 1.796 GB, free: 73.16 MB / 0.5108 GB Notification: Performance of setup shared object (initialization): time 7.766e-05/4.738, allocations: 334 kB / 1.797 GB, free: 72.85 MB / 0.5108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000272/4.739, allocations: 210.6 kB / 1.797 GB, free: 72.78 MB / 0.5108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003746/4.739, allocations: 416.5 kB / 1.797 GB, free: 72.44 MB / 0.5108 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004266/4.739, allocations: 272.2 kB / 1.798 GB, free: 72.35 MB / 0.5108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.84e-06/4.739, allocations: 3.812 kB / 1.798 GB, free: 72.35 MB / 0.5108 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001171/4.741, allocations: 0.7866 MB / 1.798 GB, free: 72.05 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 0.000584/4.741, allocations: 2.44 MB / 1.801 GB, free: 69.47 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/4.741, allocations: 6.469 kB / 1.801 GB, free: 69.47 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008271/4.742, allocations: 212.9 kB / 1.801 GB, free: 69.42 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005677/4.743, allocations: 138.2 kB / 1.801 GB, free: 69.41 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001093/4.744, allocations: 1.459 MB / 1.803 GB, free: 68.17 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000714/4.745, allocations: 73.66 kB / 1.803 GB, free: 68.14 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.395e-05/4.745, allocations: 34.66 kB / 1.803 GB, free: 68.14 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/4.745, allocations: 4.781 kB / 1.803 GB, free: 68.14 MB / 0.5108 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001148/4.746, allocations: 0.6296 MB / 1.803 GB, free: 67.93 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/4.746, allocations: 7.469 kB / 1.803 GB, free: 67.93 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003403/4.746, allocations: 82.58 kB / 1.803 GB, free: 67.9 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005998/4.747, allocations: 169.5 kB / 1.803 GB, free: 67.88 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008514/4.748, allocations: 1.844 MB / 1.805 GB, free: 66.12 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005735/4.748, allocations: 58.58 kB / 1.805 GB, free: 66.09 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.732e-05/4.748, allocations: 30.69 kB / 1.805 GB, free: 66.09 MB / 0.5108 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: GT.ZLPout_ISO:VARIABLE(unit = "W" ) "zero_loss power output, referred to ISO conditions " type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 60 * 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: 1 * 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: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 11} Notification: Performance of prepare postOptimizeDAE: time 0.0003293/4.749, allocations: 136.1 kB / 1.805 GB, free: 65.96 MB / 0.5108 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009231/4.75, allocations: 494.7 kB / 1.806 GB, free: 65.75 MB / 0.5108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001555/4.75, allocations: 89.69 kB / 1.806 GB, free: 65.71 MB / 0.5108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001196/4.751, allocations: 0.5286 MB / 1.807 GB, free: 65.5 MB / 0.5108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/4.751, allocations: 6.406 kB / 1.807 GB, free: 65.5 MB / 0.5108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/4.751, allocations: 3.953 kB / 1.807 GB, free: 65.49 MB / 0.5108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/4.751, allocations: 0 / 1.807 GB, free: 65.49 MB / 0.5108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001503/4.752, allocations: 0.9719 MB / 1.808 GB, free: 64.99 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/4.752, allocations: 3.938 kB / 1.808 GB, free: 64.99 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003396/4.753, allocations: 65.19 kB / 1.808 GB, free: 64.99 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006916/4.754, allocations: 191.2 kB / 1.808 GB, free: 64.94 MB / 0.5108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.559e-05/4.754, allocations: 3.891 kB / 1.808 GB, free: 64.94 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009705/4.755, allocations: 1.431 MB / 1.809 GB, free: 63.71 MB / 0.5108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/4.755, allocations: 0 / 1.809 GB, free: 63.71 MB / 0.5108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001256/4.756, allocations: 0.8414 MB / 1.81 GB, free: 63.24 MB / 0.5108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004208/4.756, allocations: 268 kB / 1.81 GB, free: 63.06 MB / 0.5108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/4.756, allocations: 0 / 1.81 GB, free: 63.06 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007077/4.757, allocations: 50.59 kB / 1.81 GB, free: 63.06 MB / 0.5108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.516e-05/4.757, allocations: 27.47 kB / 1.81 GB, free: 63.05 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.94e-05/4.757, allocations: 27 kB / 1.81 GB, free: 63.05 MB / 0.5108 GB Notification: Performance of sorting global known variables: time 0.0007952/4.758, allocations: 0.7121 MB / 1.811 GB, free: 62.77 MB / 0.5108 GB Notification: Performance of sort global known variables: time 1.6e-07/4.758, allocations: 0 / 1.811 GB, free: 62.77 MB / 0.5108 GB Notification: Performance of remove unused functions: time 0.002/4.76, allocations: 0.6529 MB / 1.812 GB, free: 62.62 MB / 0.5108 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (26): * Single equations (assignments): 24 * 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: 1 * 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: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.003885/4.764, allocations: 2.77 MB / 1.814 GB, free: 61.17 MB / 0.5108 GB Notification: Performance of simCode: created initialization part: time 0.001866/4.766, allocations: 0.8642 MB / 1.815 GB, free: 60.89 MB / 0.5108 GB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/4.766, allocations: 4.656 kB / 1.815 GB, free: 60.89 MB / 0.5108 GB Notification: Performance of simCode: created simulation system equations: time 0.0004587/4.766, allocations: 213.2 kB / 1.815 GB, free: 60.82 MB / 0.5108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001613/4.768, allocations: 269.3 kB / 1.816 GB, free: 60.75 MB / 0.5108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00396/4.772, allocations: 1.646 MB / 1.817 GB, free: 60.08 MB / 0.5108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007702/4.773, allocations: 1.137 MB / 1.818 GB, free: 59.32 MB / 0.5108 GB Notification: Performance of simCode: alias equations: time 0.001322/4.774, allocations: 437.8 kB / 1.819 GB, free: 59.27 MB / 0.5108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003766/4.774, allocations: 382.6 kB / 1.819 GB, free: 58.97 MB / 0.5108 GB Notification: Performance of SimCode: time 9.11e-07/4.774, allocations: 0 / 1.819 GB, free: 58.97 MB / 0.5108 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06361/4.838, allocations: 32.11 MB / 1.851 GB, free: 28.14 MB / 0.5108 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002557/4.838, allocations: 156.6 kB / 1.851 GB, free: 27.95 MB / 0.5108 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.512/8.351, allocations: 7.938 kB / 1.851 GB, free: 27.94 MB / 0.5108 GB (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestGT_ISO.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestGT_ISO.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestGT_ISO.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestGT_ISO.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_GasComponents_TestGT_ISO_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_GasComponents_TestGT_ISO.fmu > ThermoPower_ThermoPower.Test.GasComponents.TestGT_ISO.pipe 2>&1)