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.002875/0.002875, allocations: 174.7 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 2.146/2.146, allocations: 205.2 MB / 219.4 MB, free: 14.26 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.0009596/0.0009595, allocations: 90.64 kB / 267.5 MB, free: 14.1 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4329/0.4329, allocations: 48.78 MB / 364.3 MB, free: 6.879 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 5.633e-05/5.635e-05, allocations: 7.938 kB / 432.6 MB, free: 16.67 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1989/0.199, allocations: 60.25 MB / 492.8 MB, free: 4.293 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.597/2.796, allocations: 0.7197 GB / 1.201 GB, free: 92.23 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003061/2.797, allocations: 80.91 kB / 1.201 GB, free: 92.19 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.094/5.891, allocations: 0.7542 GB / 1.955 GB, free: 81.93 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.743e-06/5.891, allocations: 1.125 kB / 1.955 GB, free: 81.93 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.427e-05/5.891, allocations: 38.38 kB / 1.955 GB, free: 81.93 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.003728/5.895, allocations: 1.592 MB / 1.957 GB, free: 81.3 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.31e-05/5.895, allocations: 9.375 kB / 1.957 GB, free: 81.3 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002601/5.895, allocations: 205.2 kB / 1.957 GB, free: 81.26 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001364/5.897, allocations: 307.3 kB / 1.957 GB, free: 81.18 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001542/5.898, allocations: 0.8662 MB / 1.958 GB, free: 80.93 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.01e-05/5.898, allocations: 109.5 kB / 1.958 GB, free: 80.92 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001888/5.898, allocations: 139.8 kB / 1.958 GB, free: 80.92 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002577/5.901, allocations: 1.671 MB / 1.96 GB, free: 80.81 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.599e-05/5.901, allocations: 3.953 kB / 1.96 GB, free: 80.81 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001637/5.901, allocations: 61.69 kB / 1.96 GB, free: 80.81 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.884e-05/5.901, allocations: 35.34 kB / 1.96 GB, free: 80.81 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001836/5.903, allocations: 1.291 MB / 1.961 GB, free: 80.79 MB / 0.5261 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.0095/5.913, allocations: 5.766 MB / 1.967 GB, free: 78.67 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002609/5.915, allocations: 1.012 MB / 1.968 GB, free: 78.62 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003627/5.916, allocations: 252.6 kB / 1.968 GB, free: 78.6 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 6.893e-05/5.916, allocations: 14.55 kB / 1.968 GB, free: 78.6 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.758e-05/5.916, allocations: 57.98 kB / 1.968 GB, free: 78.56 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=62): time 3.226e-06/5.916, allocations: 0 / 1.968 GB, free: 78.56 MB / 0.5261 GB Notification: Performance of matching and sorting (n=62): time 0.002016/5.918, allocations: 0.8151 MB / 1.969 GB, free: 78.42 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/5.918, allocations: 87.14 kB / 1.969 GB, free: 78.32 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001675/5.92, allocations: 1.457 MB / 1.971 GB, free: 78.17 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001732/5.92, allocations: 48.92 kB / 1.971 GB, free: 78.14 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004115/5.92, allocations: 0.6253 MB / 1.971 GB, free: 77.95 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001635/5.92, allocations: 218.3 kB / 1.972 GB, free: 77.81 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.127e-05/5.92, allocations: 17.53 kB / 1.972 GB, free: 77.81 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.295e-05/5.92, allocations: 340.9 kB / 1.972 GB, free: 77.51 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005097/5.921, allocations: 342 kB / 1.972 GB, free: 77.51 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000546/5.922, allocations: 0.4903 MB / 1.973 GB, free: 77.36 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005483/5.922, allocations: 387.4 kB / 1.973 GB, free: 77.35 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/5.922, allocations: 3.469 kB / 1.973 GB, free: 77.35 MB / 0.5261 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001863/5.924, allocations: 1.198 MB / 1.974 GB, free: 77.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002994/5.924, allocations: 1.606 MB / 1.976 GB, free: 75.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/5.924, allocations: 10.86 kB / 1.976 GB, free: 75.57 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004065/5.928, allocations: 0.6209 MB / 1.976 GB, free: 75.55 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001103/5.93, allocations: 239 kB / 1.977 GB, free: 75.55 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001955/5.931, allocations: 3.821 MB / 1.98 GB, free: 72.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001817/5.933, allocations: 266.3 kB / 1.981 GB, free: 72.06 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001294/5.933, allocations: 45.58 kB / 1.981 GB, free: 72.06 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/5.933, allocations: 6.75 kB / 1.981 GB, free: 72.06 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001792/5.935, allocations: 0.9783 MB / 1.982 GB, free: 72.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/5.935, allocations: 3.781 kB / 1.982 GB, free: 72.02 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004445/5.936, allocations: 119.1 kB / 1.982 GB, free: 72.01 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001266/5.937, allocations: 304 kB / 1.982 GB, free: 72.01 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003119/5.94, allocations: 5.449 MB / 1.987 GB, free: 66.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001571/5.942, allocations: 232 kB / 1.988 GB, free: 66.88 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.441e-05/5.942, allocations: 47.48 kB / 1.988 GB, free: 66.88 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 () * 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.000421/5.942, allocations: 161.2 kB / 1.988 GB, free: 66.76 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000308/5.943, allocations: 149.6 kB / 1.988 GB, free: 66.69 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001933/5.945, allocations: 0.8936 MB / 1.989 GB, free: 66.58 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/5.945, allocations: 6.406 kB / 1.989 GB, free: 66.58 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/5.945, allocations: 7.203 kB / 1.989 GB, free: 66.58 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.327e-06/5.945, allocations: 2.344 kB / 1.989 GB, free: 66.58 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003766/5.948, allocations: 2.202 MB / 1.991 GB, free: 66.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/5.948, allocations: 8.109 kB / 1.991 GB, free: 66.06 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004723/5.949, allocations: 117.8 kB / 1.991 GB, free: 66.05 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00388/5.953, allocations: 0.6093 MB / 1.992 GB, free: 66.04 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-05/5.953, allocations: 25.27 kB / 1.992 GB, free: 66.04 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001819/5.955, allocations: 3.835 MB / 1.995 GB, free: 62.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/5.955, allocations: 2.25 kB / 1.995 GB, free: 62.64 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001793/5.956, allocations: 1.157 MB / 1.997 GB, free: 62.11 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006052/5.957, allocations: 285.5 kB / 1.997 GB, free: 61.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001801/5.957, allocations: 17.22 kB / 1.997 GB, free: 61.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001499/5.959, allocations: 127.3 kB / 1.997 GB, free: 61.92 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001564/5.959, allocations: 50.56 kB / 1.997 GB, free: 61.92 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001494/5.959, allocations: 62.77 kB / 1.997 GB, free: 61.92 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001481/5.961, allocations: 1.122 MB / 1.998 GB, free: 61.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.8e-07/5.961, allocations: 2.719 kB / 1.998 GB, free: 61.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002806/5.963, allocations: 0.9383 MB / 1.999 GB, free: 61.73 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 () * 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.003947/5.967, allocations: 3.241 MB / 2.002 GB, free: 60.09 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003279/5.971, allocations: 1.565 MB / 2.004 GB, free: 59.79 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.377e-06/5.971, allocations: 2.812 kB / 2.004 GB, free: 59.79 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0007791/5.971, allocations: 350.2 kB / 2.004 GB, free: 59.77 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005031/5.977, allocations: 0.9685 MB / 2.005 GB, free: 59.73 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004022/5.981, allocations: 1.998 MB / 2.007 GB, free: 59.14 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006385/5.981, allocations: 1.241 MB / 2.008 GB, free: 58.43 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002211/5.983, allocations: 0.5821 MB / 2.009 GB, free: 58.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005575/5.984, allocations: 0.5052 MB / 2.009 GB, free: 58.39 MB / 0.5261 GB Notification: Performance of SimCode: time 9.82e-07/5.984, allocations: 0 / 2.009 GB, free: 58.39 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.105/6.089, allocations: 74.42 MB / 2.082 GB, free: 4.891 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002054/6.089, allocations: 187 kB / 2.082 GB, free: 4.66 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.76/10.85, allocations: 0 / 2.082 GB, free: 4.66 MB / 0.5261 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)