Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGasValveOpPoint.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.TestGasValveOpPoint,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGasValveOpPoint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestGasValveOpPoint,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGasValveOpPoint",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.001919/0.00192, allocations: 180.6 kB / 16.39 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.111/2.111, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001088/0.001088, allocations: 91.12 kB / 270.9 MB, free: 8.383 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.6569/0.6569, allocations: 48.77 MB / 367.9 MB, free: 47.41 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000425/0.0004254, allocations: 8 kB / 438.7 MB, free: 10.91 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1762/0.1767, allocations: 60.26 MB / 499 MB, free: 14.52 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.217/2.394, allocations: 0.7197 GB / 1.207 GB, free: 89.86 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002948/2.394, allocations: 76.58 kB / 1.207 GB, free: 89.78 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.12/5.514, allocations: 0.754 GB / 1.961 GB, free: 77.86 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.966e-06/5.514, allocations: 0 / 1.961 GB, free: 77.86 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001849/5.514, allocations: 42.64 kB / 1.961 GB, free: 77.86 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 340 * Number of variables: 340 Notification: Performance of Generate backend data structure: time 0.006448/5.521, allocations: 1.74 MB / 1.963 GB, free: 77.16 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/5.521, allocations: 7 kB / 1.963 GB, free: 77.16 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001045/5.522, allocations: 207.5 kB / 1.963 GB, free: 77.12 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002167/5.524, allocations: 305.3 kB / 1.963 GB, free: 77.04 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002783/5.527, allocations: 0.8752 MB / 1.964 GB, free: 76.79 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000143/5.527, allocations: 104.3 kB / 1.964 GB, free: 76.79 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005447/5.528, allocations: 138.2 kB / 1.964 GB, free: 76.79 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004652/5.532, allocations: 1.801 MB / 1.966 GB, free: 76.68 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.244e-05/5.533, allocations: 0 / 1.966 GB, free: 76.68 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004968/5.533, allocations: 61.56 kB / 1.966 GB, free: 76.68 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.223e-05/5.533, allocations: 40.34 kB / 1.966 GB, free: 76.68 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003151/5.536, allocations: 1.527 MB / 1.968 GB, free: 76.66 MB / 0.5261 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.01221/5.548, allocations: 5.763 MB / 1.973 GB, free: 74.4 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003151/5.552, allocations: 1.188 MB / 1.975 GB, free: 74.34 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 9.218e-05/5.552, allocations: 12.39 kB / 1.975 GB, free: 74.34 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.293e-05/5.552, allocations: 57.92 kB / 1.975 GB, free: 74.3 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=62): time 2.985e-06/5.552, allocations: 2.406 kB / 1.975 GB, free: 74.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=62): time 0.008306/5.56, allocations: 2.486 MB / 1.977 GB, free: 73.97 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/5.56, allocations: 88.61 kB / 1.977 GB, free: 73.88 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002613/5.563, allocations: 1.473 MB / 1.979 GB, free: 73.72 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003368/5.563, allocations: 46.64 kB / 1.979 GB, free: 73.69 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006244/5.564, allocations: 0.6275 MB / 1.979 GB, free: 73.49 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002574/5.564, allocations: 214.3 kB / 1.979 GB, free: 73.35 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/5.564, allocations: 20.19 kB / 1.979 GB, free: 73.35 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.134e-05/5.564, allocations: 338 kB / 1.98 GB, free: 73.05 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001032/5.565, allocations: 483.8 kB / 1.98 GB, free: 73.05 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00105/5.566, allocations: 0.6205 MB / 1.981 GB, free: 72.89 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001056/5.568, allocations: 0.5058 MB / 1.981 GB, free: 72.88 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/5.568, allocations: 3.781 kB / 1.981 GB, free: 72.88 MB / 0.5261 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.003212/5.571, allocations: 1.522 MB / 1.983 GB, free: 72.71 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003887/5.571, allocations: 1.603 MB / 1.984 GB, free: 71.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/5.571, allocations: 7.141 kB / 1.984 GB, free: 71.08 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005437/5.577, allocations: 0.757 MB / 1.985 GB, free: 71.06 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00136/5.578, allocations: 251.5 kB / 1.985 GB, free: 71.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003313/5.581, allocations: 4.013 MB / 1.989 GB, free: 67.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002391/5.584, allocations: 264.5 kB / 1.99 GB, free: 67.55 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002723/5.584, allocations: 47.3 kB / 1.99 GB, free: 67.55 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/5.584, allocations: 10.5 kB / 1.99 GB, free: 67.55 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002947/5.587, allocations: 1.239 MB / 1.991 GB, free: 67.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.882e-05/5.587, allocations: 3.906 kB / 1.991 GB, free: 67.48 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004749/5.588, allocations: 110.7 kB / 1.991 GB, free: 67.46 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001421/5.589, allocations: 309.2 kB / 1.991 GB, free: 67.45 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003733/5.593, allocations: 5.471 MB / 1.997 GB, free: 62.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002083/5.595, allocations: 237.2 kB / 1.997 GB, free: 62.33 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002742/5.595, allocations: 43.3 kB / 1.997 GB, free: 62.33 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 12,1 12} Notification: Performance of prepare postOptimizeDAE: time 0.001536/5.597, allocations: 435.7 kB / 1.997 GB, free: 62.12 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007663/5.598, allocations: 152 kB / 1.997 GB, free: 62.05 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00344/5.601, allocations: 1.161 MB / 1.999 GB, free: 61.96 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.597e-05/5.601, allocations: 11.33 kB / 1.999 GB, free: 61.95 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/5.601, allocations: 3.516 kB / 1.999 GB, free: 61.95 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/5.601, allocations: 2.719 kB / 1.999 GB, free: 61.95 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006495/5.608, allocations: 2.478 MB / 2.001 GB, free: 61.44 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/5.608, allocations: 0 / 2.001 GB, free: 61.44 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005157/5.608, allocations: 120.4 kB / 2.001 GB, free: 61.43 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004998/5.613, allocations: 0.7511 MB / 2.002 GB, free: 61.41 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001607/5.613, allocations: 17.3 kB / 2.002 GB, free: 61.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002839/5.616, allocations: 4.038 MB / 2.006 GB, free: 58.01 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/5.616, allocations: 10.17 kB / 2.006 GB, free: 58 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003093/5.619, allocations: 1.428 MB / 2.007 GB, free: 57.48 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009829/5.62, allocations: 276.7 kB / 2.007 GB, free: 57.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006091/5.621, allocations: 15.11 kB / 2.007 GB, free: 57.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002089/5.623, allocations: 132 kB / 2.008 GB, free: 57.29 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001651/5.623, allocations: 49.86 kB / 2.008 GB, free: 57.29 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003149/5.624, allocations: 64.83 kB / 2.008 GB, free: 57.29 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002129/5.626, allocations: 1.14 MB / 2.009 GB, free: 57.18 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.51e-07/5.626, allocations: 0 / 2.009 GB, free: 57.18 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004554/5.63, allocations: 0.9342 MB / 2.01 GB, free: 57.12 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 13,1 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.006639/5.637, allocations: 3.5 MB / 2.013 GB, free: 55.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004766/5.642, allocations: 1.881 MB / 2.015 GB, free: 55.23 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.371e-05/5.642, allocations: 4.375 kB / 2.015 GB, free: 55.23 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001209/5.643, allocations: 452.3 kB / 2.015 GB, free: 55.21 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005588/5.649, allocations: 0.9733 MB / 2.016 GB, free: 55.16 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009149/5.658, allocations: 6.422 MB / 2.023 GB, free: 50.46 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001119/5.659, allocations: 1.243 MB / 2.024 GB, free: 49.75 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00314/5.662, allocations: 323.3 kB / 2.024 GB, free: 49.73 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001213/5.663, allocations: 0.516 MB / 2.025 GB, free: 49.72 MB / 0.5261 GB Notification: Performance of SimCode: time 1.973e-06/5.664, allocations: 0 / 2.025 GB, free: 49.72 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1074/5.771, allocations: 68.84 MB / 2.092 GB, free: 10.92 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002158/5.771, allocations: 208.9 kB / 2.092 GB, free: 10.68 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.29/10.06, allocations: 0 / 2.092 GB, free: 10.68 MB / 0.5417 GB (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestGasValveOpPoint.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestGasValveOpPoint.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestGasValveOpPoint.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestGasValveOpPoint.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_GasComponents_TestGasValveOpPoint_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_GasComponents_TestGasValveOpPoint.fmu > ThermoPower_ThermoPower.Test.GasComponents.TestGasValveOpPoint.pipe 2>&1)