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.001642/0.001642, 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 2.025/2.025, allocations: 205.3 MB / 214.1 MB, free: 14.13 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.001124/0.001124, allocations: 78.97 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.6053/0.6053, allocations: 48.78 MB / 358.8 MB, free: 53.14 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.271e-05/2.271e-05, allocations: 4.219 kB / 425.4 MB, free: 8.125 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1627, allocations: 60.25 MB / 485.6 MB, free: 11.73 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.395/2.558, allocations: 0.719 GB / 1.193 GB, free: 104.7 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003451/2.558, allocations: 75.97 kB / 1.193 GB, free: 104.6 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 3.103/5.662, allocations: 0.7445 GB / 1.938 GB, free: 66.09 MB / 0.5108 GB Notification: Performance of FrontEnd: time 1.803e-06/5.662, allocations: 0 / 1.938 GB, free: 66.09 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 0.000121/5.662, allocations: 36.91 kB / 1.938 GB, free: 66.08 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: 340 * Number of variables: 340 Notification: Performance of Generate backend data structure: time 0.004708/5.667, allocations: 1.595 MB / 1.939 GB, free: 65.46 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 6.449e-05/5.667, allocations: 9.594 kB / 1.939 GB, free: 65.46 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00176/5.668, allocations: 301.8 kB / 1.94 GB, free: 65.38 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002048/5.67, allocations: 0.8705 MB / 1.941 GB, free: 65.12 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.943e-05/5.671, allocations: 54.98 kB / 1.941 GB, free: 65.12 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001969/5.671, allocations: 78.56 kB / 1.941 GB, free: 65.12 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00211/5.673, allocations: 1.244 MB / 1.942 GB, free: 65.11 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002435/5.675, allocations: 1.469 MB / 1.943 GB, free: 65.02 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.936e-05/5.675, allocations: 3.609 kB / 1.943 GB, free: 65.02 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001521/5.675, allocations: 10.41 kB / 1.943 GB, free: 65.02 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.747e-05/5.676, allocations: 29.06 kB / 1.943 GB, free: 65.02 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.01018/5.686, allocations: 5.223 MB / 1.948 GB, free: 62.99 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002745/5.688, allocations: 0.9851 MB / 1.949 GB, free: 62.94 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003643/5.689, allocations: 244.2 kB / 1.95 GB, free: 62.93 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 8.05e-05/5.689, allocations: 19.89 kB / 1.95 GB, free: 62.93 MB / 0.5108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.263e-05/5.689, allocations: 55.41 kB / 1.95 GB, free: 62.89 MB / 0.5108 GB Notification: Performance of pre-optimization done (n=62): time 2.896e-06/5.689, allocations: 0 / 1.95 GB, free: 62.89 MB / 0.5108 GB Notification: Performance of matching and sorting (n=62): time 0.002424/5.691, allocations: 0.7705 MB / 1.95 GB, free: 62.78 MB / 0.5108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/5.692, allocations: 81.05 kB / 1.951 GB, free: 62.69 MB / 0.5108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008234/5.692, allocations: 0.6912 MB / 1.951 GB, free: 62.56 MB / 0.5108 GB Notification: Performance of collectPreVariables (initialization): time 0.0001624/5.693, allocations: 30.36 kB / 1.951 GB, free: 62.53 MB / 0.5108 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003796/5.693, allocations: 0.6481 MB / 1.952 GB, free: 62.27 MB / 0.5108 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001694/5.693, allocations: 209.1 kB / 1.952 GB, free: 62.13 MB / 0.5108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.067e-05/5.693, allocations: 0 / 1.952 GB, free: 62.13 MB / 0.5108 GB Notification: Performance of setup shared object (initialization): time 0.0001196/5.693, allocations: 392.7 kB / 1.952 GB, free: 61.82 MB / 0.5108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004673/5.694, allocations: 343.7 kB / 1.953 GB, free: 61.82 MB / 0.5108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005482/5.694, allocations: 487.1 kB / 1.953 GB, free: 61.66 MB / 0.5108 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009902/5.695, allocations: 428 kB / 1.954 GB, free: 61.66 MB / 0.5108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.551e-06/5.695, allocations: 3.375 kB / 1.954 GB, free: 61.66 MB / 0.5108 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002069/5.697, allocations: 1.125 MB / 1.955 GB, free: 61.55 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004482/5.698, allocations: 1.578 MB / 1.956 GB, free: 59.91 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/5.698, allocations: 3.875 kB / 1.956 GB, free: 59.91 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002138/5.7, allocations: 397.9 kB / 1.957 GB, free: 59.89 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001127/5.701, allocations: 254.7 kB / 1.957 GB, free: 59.89 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002591/5.704, allocations: 3.931 MB / 1.961 GB, free: 56.5 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001699/5.705, allocations: 164.2 kB / 1.961 GB, free: 56.45 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001184/5.706, allocations: 47.14 kB / 1.961 GB, free: 56.45 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/5.706, allocations: 3.906 kB / 1.961 GB, free: 56.45 MB / 0.5108 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00205/5.708, allocations: 0.9182 MB / 1.962 GB, free: 56.41 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.076e-06/5.708, allocations: 3.219 kB / 1.962 GB, free: 56.41 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004368/5.708, allocations: 111.9 kB / 1.962 GB, free: 56.39 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00157/5.71, allocations: 310 kB / 1.962 GB, free: 56.39 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003389/5.713, allocations: 5.338 MB / 1.967 GB, free: 51.5 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001309/5.714, allocations: 134.3 kB / 1.968 GB, free: 51.46 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.496e-05/5.715, allocations: 43.48 kB / 1.968 GB, free: 51.46 MB / 0.5108 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.0004767/5.715, allocations: 133.6 kB / 1.968 GB, free: 51.35 MB / 0.5108 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001812/5.717, allocations: 0.7328 MB / 1.968 GB, free: 51.24 MB / 0.5108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001885/5.717, allocations: 101.4 kB / 1.969 GB, free: 51.2 MB / 0.5108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001837/5.719, allocations: 0.8045 MB / 1.969 GB, free: 51.11 MB / 0.5108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-06/5.719, allocations: 7.844 kB / 1.969 GB, free: 51.11 MB / 0.5108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/5.719, allocations: 0 / 1.969 GB, free: 51.11 MB / 0.5108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/5.719, allocations: 3.844 kB / 1.969 GB, free: 51.11 MB / 0.5108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003916/5.723, allocations: 2.011 MB / 1.971 GB, free: 50.66 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.854e-06/5.723, allocations: 3.953 kB / 1.971 GB, free: 50.65 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000474/5.723, allocations: 123 kB / 1.971 GB, free: 50.65 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001503/5.725, allocations: 374.9 kB / 1.972 GB, free: 50.63 MB / 0.5108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.557e-05/5.725, allocations: 12.53 kB / 1.972 GB, free: 50.63 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00215/5.727, allocations: 3.898 MB / 1.976 GB, free: 47.25 MB / 0.5108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/5.727, allocations: 7.031 kB / 1.976 GB, free: 47.25 MB / 0.5108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002062/5.729, allocations: 1.047 MB / 1.977 GB, free: 46.79 MB / 0.5108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004078/5.73, allocations: 189.5 kB / 1.977 GB, free: 46.64 MB / 0.5108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001616/5.73, allocations: 3.344 kB / 1.977 GB, free: 46.64 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001448/5.731, allocations: 112.4 kB / 1.977 GB, free: 46.63 MB / 0.5108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001587/5.731, allocations: 50.59 kB / 1.977 GB, free: 46.63 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001521/5.732, allocations: 71.59 kB / 1.977 GB, free: 46.63 MB / 0.5108 GB Notification: Performance of sorting global known variables: time 0.0008363/5.732, allocations: 0.5071 MB / 1.978 GB, free: 46.54 MB / 0.5108 GB Notification: Performance of sort global known variables: time 6.62e-07/5.732, allocations: 0 / 1.978 GB, free: 46.54 MB / 0.5108 GB Notification: Performance of remove unused functions: time 0.00424/5.737, allocations: 0.9688 MB / 1.979 GB, free: 46.36 MB / 0.5108 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.005527/5.742, allocations: 3.338 MB / 1.982 GB, free: 44.77 MB / 0.5108 GB Notification: Performance of simCode: created initialization part: time 0.003263/5.746, allocations: 1.463 MB / 1.983 GB, free: 44.54 MB / 0.5108 GB Notification: Performance of simCode: created event and clocks part: time 1.364e-05/5.746, allocations: 5.062 kB / 1.983 GB, free: 44.54 MB / 0.5108 GB Notification: Performance of simCode: created simulation system equations: time 0.0008002/5.746, allocations: 334.5 kB / 1.984 GB, free: 44.52 MB / 0.5108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002566/5.749, allocations: 398.7 kB / 1.984 GB, free: 44.49 MB / 0.5108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004476/5.753, allocations: 1.77 MB / 1.986 GB, free: 43.9 MB / 0.5108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007737/5.754, allocations: 1.242 MB / 1.987 GB, free: 43.2 MB / 0.5108 GB Notification: Performance of simCode: alias equations: time 0.001331/5.756, allocations: 247.9 kB / 1.987 GB, free: 43.18 MB / 0.5108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005865/5.756, allocations: 0.4921 MB / 1.988 GB, free: 43.18 MB / 0.5108 GB Notification: Performance of SimCode: time 1.102e-06/5.756, allocations: 0 / 1.988 GB, free: 43.18 MB / 0.5108 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08973/5.846, allocations: 41.87 MB / 2.028 GB, free: 38.44 MB / 0.5108 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002652/5.846, allocations: 142 kB / 2.029 GB, free: 38.24 MB / 0.5108 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.579/9.425, allocations: 0 / 2.029 GB, free: 38.24 MB / 0.5108 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)