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.001492/0.001492, allocations: 174.8 kB / 13.63 MB, free: 1.684 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.846/1.846, allocations: 205.2 MB / 219.4 MB, free: 14.19 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.0008435/0.0008435, allocations: 86.7 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.3041/0.3041, allocations: 48.78 MB / 364.3 MB, free: 6.867 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.428e-05/3.431e-05, allocations: 4 kB / 432.6 MB, free: 16.66 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1569, allocations: 60.25 MB / 492.8 MB, free: 4.285 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.319/2.476, allocations: 0.7528 GB / 1.234 GB, free: 59.08 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002655/2.476, allocations: 79.09 kB / 1.234 GB, free: 59.04 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.348/4.824, allocations: 0.5658 GB / 1.8 GB, free: 83.43 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.737e-06/4.824, allocations: 3.984 kB / 1.8 GB, free: 83.43 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.573e-05/4.825, allocations: 26.27 kB / 1.8 GB, free: 83.41 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: 234 * Number of variables: 234 Notification: Performance of Generate backend data structure: time 0.002243/4.827, allocations: 1.198 MB / 1.801 GB, free: 82.17 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.835e-05/4.827, allocations: 12.03 kB / 1.801 GB, free: 82.16 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001759/4.827, allocations: 143.8 kB / 1.801 GB, free: 82.01 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008738/4.828, allocations: 218.3 kB / 1.802 GB, free: 81.8 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001464/4.829, allocations: 0.797 MB / 1.802 GB, free: 80.98 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.78e-05/4.829, allocations: 66 kB / 1.802 GB, free: 80.91 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001231/4.83, allocations: 91.91 kB / 1.802 GB, free: 80.82 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001786/4.831, allocations: 1.198 MB / 1.804 GB, free: 79.58 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.54e-05/4.831, allocations: 3.938 kB / 1.804 GB, free: 79.57 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001115/4.832, allocations: 51.95 kB / 1.804 GB, free: 79.52 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.29e-05/4.832, allocations: 34 kB / 1.804 GB, free: 79.49 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001231/4.833, allocations: 0.8668 MB / 1.805 GB, free: 78.62 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.007101/4.84, allocations: 5.026 MB / 1.809 GB, free: 73.3 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006708/4.841, allocations: 377.9 kB / 1.81 GB, free: 72.91 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002444/4.841, allocations: 166.3 kB / 1.81 GB, free: 72.75 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 6.541e-05/4.841, allocations: 18.17 kB / 1.81 GB, free: 72.73 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.649e-05/4.841, allocations: 46.73 kB / 1.81 GB, free: 72.68 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=40): time 3.857e-06/4.841, allocations: 8 kB / 1.81 GB, free: 72.67 MB / 0.5105 GB Notification: Performance of matching and sorting (n=40): time 0.001371/4.842, allocations: 0.5316 MB / 1.811 GB, free: 72.12 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.846e-05/4.843, allocations: 132.5 kB / 1.811 GB, free: 71.96 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001685/4.844, allocations: 1.382 MB / 1.812 GB, free: 70.57 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001004/4.844, allocations: 37.7 kB / 1.812 GB, free: 70.53 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003581/4.845, allocations: 0.5497 MB / 1.813 GB, free: 69.98 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001239/4.845, allocations: 144.8 kB / 1.813 GB, free: 69.84 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.228e-05/4.845, allocations: 18.95 kB / 1.813 GB, free: 69.82 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001058/4.845, allocations: 326 kB / 1.813 GB, free: 69.5 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003198/4.845, allocations: 221.5 kB / 1.813 GB, free: 69.28 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004458/4.846, allocations: 417.8 kB / 1.814 GB, free: 68.78 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003834/4.846, allocations: 285.3 kB / 1.814 GB, free: 68.5 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/4.846, allocations: 4 kB / 1.814 GB, free: 68.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001323/4.847, allocations: 0.8527 MB / 1.815 GB, free: 67.64 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007536/4.848, allocations: 2.463 MB / 1.817 GB, free: 65 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/4.848, allocations: 4 kB / 1.817 GB, free: 65 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001379/4.85, allocations: 232.4 kB / 1.817 GB, free: 64.77 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005767/4.85, allocations: 139.8 kB / 1.818 GB, free: 64.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001125/4.851, allocations: 1.415 MB / 1.819 GB, free: 63.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/4.852, allocations: 138.8 kB / 1.819 GB, free: 63.04 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.005e-05/4.853, allocations: 28 kB / 1.819 GB, free: 63.01 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/4.853, allocations: 4 kB / 1.819 GB, free: 63 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001267/4.854, allocations: 0.707 MB / 1.82 GB, free: 62.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/4.854, allocations: 8 kB / 1.82 GB, free: 62.29 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003923/4.854, allocations: 84.78 kB / 1.82 GB, free: 62.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000597/4.855, allocations: 155.7 kB / 1.82 GB, free: 62.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009776/4.856, allocations: 1.834 MB / 1.822 GB, free: 60.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008729/4.857, allocations: 115 kB / 1.822 GB, free: 60.03 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-05/4.857, allocations: 31.95 kB / 1.822 GB, free: 60 MB / 0.5105 GB 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.0003444/4.857, allocations: 152.8 kB / 1.822 GB, free: 59.84 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002914/4.857, allocations: 121.4 kB / 1.822 GB, free: 59.72 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001384/4.859, allocations: 0.6063 MB / 1.823 GB, free: 59.11 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/4.859, allocations: 8 kB / 1.823 GB, free: 59.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/4.859, allocations: 0 / 1.823 GB, free: 59.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/4.859, allocations: 3.984 kB / 1.823 GB, free: 59.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001779/4.861, allocations: 1.081 MB / 1.824 GB, free: 57.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/4.861, allocations: 7.984 kB / 1.824 GB, free: 57.96 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003328/4.861, allocations: 63.91 kB / 1.824 GB, free: 57.89 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00109/4.862, allocations: 223.8 kB / 1.824 GB, free: 57.68 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.355e-05/4.862, allocations: 19.98 kB / 1.824 GB, free: 57.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001159/4.863, allocations: 1.401 MB / 1.826 GB, free: 56.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/4.863, allocations: 96 / 1.826 GB, free: 56.21 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001534/4.865, allocations: 0.8966 MB / 1.826 GB, free: 55.28 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007968/4.866, allocations: 319.5 kB / 1.827 GB, free: 54.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001437/4.866, allocations: 8 kB / 1.827 GB, free: 54.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008264/4.867, allocations: 71.8 kB / 1.827 GB, free: 54.87 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.237e-05/4.867, allocations: 27.77 kB / 1.827 GB, free: 54.84 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.035e-05/4.867, allocations: 35.89 kB / 1.827 GB, free: 54.81 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001546/4.868, allocations: 1.062 MB / 1.828 GB, free: 53.74 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/4.868, allocations: 0 / 1.828 GB, free: 53.74 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002566/4.871, allocations: 0.6469 MB / 1.829 GB, free: 53.09 MB / 0.5105 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.004545/4.876, allocations: 2.693 MB / 1.831 GB, free: 50.54 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002127/4.878, allocations: 0.9271 MB / 1.832 GB, free: 49.62 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.738e-06/4.878, allocations: 8.641 kB / 1.832 GB, free: 49.61 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004959/4.878, allocations: 223.7 kB / 1.832 GB, free: 49.39 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002961/4.881, allocations: 0.5439 MB / 1.833 GB, free: 48.85 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003598/4.885, allocations: 1.772 MB / 1.835 GB, free: 47.04 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006558/4.886, allocations: 1.133 MB / 1.836 GB, free: 45.88 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001694/4.887, allocations: 0.5946 MB / 1.836 GB, free: 45.29 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004078/4.888, allocations: 391.3 kB / 1.837 GB, free: 44.91 MB / 0.5105 GB Notification: Performance of SimCode: time 1.934e-06/4.888, allocations: 0 / 1.837 GB, free: 44.91 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1087/4.996, allocations: 54.36 MB / 1.89 GB, free: 6.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003885/4.997, allocations: 203 kB / 1.89 GB, free: 6.277 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.298/9.295, allocations: 3.938 kB / 1.89 GB, free: 6.273 MB / 0.5261 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)