Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.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.WaterComponents.TestValveChoked,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestValveChoked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestValveChoked,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestValveChoked",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.001498/0.001498, allocations: 175.1 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.488/1.488, 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.0008408/0.0008411, allocations: 74.78 kB / 267.5 MB, free: 14.03 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2847/0.2847, allocations: 48.79 MB / 364.3 MB, free: 6.855 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.811e-05/2.813e-05, allocations: 4 kB / 432.6 MB, free: 16.66 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1211, allocations: 60.25 MB / 492.8 MB, free: 4.285 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.608/8.729, allocations: 2.887 GB / 3.368 GB, free: 52.4 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002324/8.729, allocations: 80.95 kB / 3.368 GB, free: 52.36 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.452/10.18, allocations: 280.6 MB / 3.642 GB, free: 77.58 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.414e-06/10.18, allocations: 0.9375 kB / 3.642 GB, free: 77.58 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.337e-05/10.18, allocations: 17.98 kB / 3.642 GB, free: 77.58 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.005401/10.19, allocations: 1.104 MB / 3.643 GB, free: 77.1 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.717e-05/10.19, allocations: 8.219 kB / 3.643 GB, free: 77.1 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.182e-05/10.19, allocations: 71.22 kB / 3.643 GB, free: 77.06 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002562/10.19, allocations: 74.77 kB / 3.643 GB, free: 77.04 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006922/10.19, allocations: 389.4 kB / 3.644 GB, free: 76.81 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.685e-05/10.19, allocations: 22.42 kB / 3.644 GB, free: 76.81 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.439e-05/10.19, allocations: 31.09 kB / 3.644 GB, free: 76.81 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007986/10.19, allocations: 480 kB / 3.644 GB, free: 76.59 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/10.19, allocations: 1.406 kB / 3.644 GB, free: 76.59 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.735e-05/10.19, allocations: 14.41 kB / 3.644 GB, free: 76.59 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.466e-05/10.19, allocations: 8.156 kB / 3.644 GB, free: 76.59 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005844/10.19, allocations: 268.6 kB / 3.645 GB, free: 76.59 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.002124/10.19, allocations: 2.022 MB / 3.647 GB, free: 75.15 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009203/10.19, allocations: 276.3 kB / 3.647 GB, free: 75.1 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001391/10.19, allocations: 72.19 kB / 3.647 GB, free: 75.09 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0621/10.25, allocations: 32.1 MB / 3.678 GB, free: 55.64 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/10.25, allocations: 37.61 kB / 3.678 GB, free: 55.6 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=17): time 2.615e-06/10.25, allocations: 0 / 3.678 GB, free: 55.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=17): time 0.001079/10.26, allocations: 277.1 kB / 3.678 GB, free: 55.55 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.315e-05/10.26, allocations: 87.36 kB / 3.679 GB, free: 55.45 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005442/10.26, allocations: 368.2 kB / 3.679 GB, free: 55.34 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.22e-05/10.26, allocations: 33.3 kB / 3.679 GB, free: 55.31 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001881/10.26, allocations: 224.7 kB / 3.679 GB, free: 55.21 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.174e-05/10.26, allocations: 63.11 kB / 3.679 GB, free: 55.18 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.608e-05/10.26, allocations: 3.875 kB / 3.679 GB, free: 55.18 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000166/10.26, allocations: 359 kB / 3.68 GB, free: 54.87 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/10.26, allocations: 46.19 kB / 3.68 GB, free: 54.87 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/10.26, allocations: 119.3 kB / 3.68 GB, free: 54.8 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001242/10.26, allocations: 59.23 kB / 3.68 GB, free: 54.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/10.26, allocations: 3.938 kB / 3.68 GB, free: 54.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004364/10.26, allocations: 241.4 kB / 3.68 GB, free: 54.75 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002863/10.26, allocations: 0.7863 MB / 3.681 GB, free: 53.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/10.26, allocations: 7.344 kB / 3.681 GB, free: 53.93 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.577e-05/10.26, allocations: 3.469 kB / 3.681 GB, free: 53.93 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003834/10.26, allocations: 75.17 kB / 3.681 GB, free: 53.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.422e-05/10.26, allocations: 3.812 kB / 3.681 GB, free: 53.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005074/10.26, allocations: 61.88 kB / 3.681 GB, free: 53.92 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.938e-05/10.26, allocations: 11.69 kB / 3.681 GB, free: 53.92 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/10.26, allocations: 7.312 kB / 3.681 GB, free: 53.92 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003235/10.26, allocations: 166.4 kB / 3.681 GB, free: 53.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.304e-06/10.26, allocations: 3.828 kB / 3.681 GB, free: 53.92 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.569e-06/10.26, allocations: 3.75 kB / 3.681 GB, free: 53.92 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003087/10.26, allocations: 75.55 kB / 3.681 GB, free: 53.92 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/10.26, allocations: 0 / 3.681 GB, free: 53.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003259/10.26, allocations: 62.28 kB / 3.681 GB, free: 53.91 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.718e-05/10.26, allocations: 8.5 kB / 3.681 GB, free: 53.91 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (ValveVap.fluidState.phase,ValveLiqChocked.fluidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.909e-05/10.26, allocations: 119.6 kB / 3.681 GB, free: 53.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.862e-05/10.26, allocations: 45.95 kB / 3.681 GB, free: 53.78 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000587/10.26, allocations: 383 kB / 3.682 GB, free: 53.72 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/10.26, allocations: 7.875 kB / 3.682 GB, free: 53.72 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/10.26, allocations: 0 / 3.682 GB, free: 53.72 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/10.26, allocations: 3.891 kB / 3.682 GB, free: 53.72 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005306/10.26, allocations: 454.3 kB / 3.682 GB, free: 53.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/10.26, allocations: 3.875 kB / 3.682 GB, free: 53.52 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002746/10.26, allocations: 54.66 kB / 3.682 GB, free: 53.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/10.26, allocations: 3.875 kB / 3.682 GB, free: 53.52 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.862e-05/10.26, allocations: 11.56 kB / 3.682 GB, free: 53.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/10.26, allocations: 7.172 kB / 3.682 GB, free: 53.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/10.26, allocations: 3.75 kB / 3.682 GB, free: 53.52 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003531/10.26, allocations: 384.6 kB / 3.683 GB, free: 53.27 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001452/10.26, allocations: 159.3 kB / 3.683 GB, free: 53.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.314e-05/10.26, allocations: 7.438 kB / 3.683 GB, free: 53.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003721/10.26, allocations: 38.25 kB / 3.683 GB, free: 53.14 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.659e-05/10.26, allocations: 15.23 kB / 3.683 GB, free: 53.14 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/10.26, allocations: 7.875 kB / 3.683 GB, free: 53.14 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004844/10.26, allocations: 399.6 kB / 3.683 GB, free: 53.05 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/10.26, allocations: 3.719 kB / 3.683 GB, free: 53.05 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005765/10.27, allocations: 0.9653 MB / 3.684 GB, free: 52.95 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007662/10.28, allocations: 2.175 MB / 3.686 GB, free: 51.96 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006643/10.28, allocations: 255.2 kB / 3.687 GB, free: 51.95 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/10.28, allocations: 0 / 3.687 GB, free: 51.95 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001243/10.28, allocations: 75.91 kB / 3.687 GB, free: 51.95 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001493/10.28, allocations: 228 kB / 3.687 GB, free: 51.95 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003397/10.28, allocations: 0.854 MB / 3.688 GB, free: 51.59 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002943/10.28, allocations: 0.8412 MB / 3.689 GB, free: 50.89 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005365/10.28, allocations: 178.7 kB / 3.689 GB, free: 50.88 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002116/10.28, allocations: 177.2 kB / 3.689 GB, free: 50.88 MB / 0.5105 GB Notification: Performance of SimCode: time 1.403e-06/10.28, allocations: 0 / 3.689 GB, free: 50.88 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07312/10.36, allocations: 38.76 MB / 3.727 GB, free: 49.03 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002062/10.36, allocations: 155 kB / 3.727 GB, free: 48.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.061/13.42, allocations: 0 / 3.727 GB, free: 48.8 MB / 0.5105 GB (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_WaterComponents_TestValveChoked_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_TestValveChoked.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe 2>&1)