Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestValves.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.TestValves,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestValves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestValves,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestValves",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.001037/0.001037, 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.427/1.427, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.000877/0.0008771, allocations: 90.62 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.2797/0.2797, allocations: 48.78 MB / 364.3 MB, free: 6.871 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.611e-05/2.616e-05, allocations: 4 kB / 432.6 MB, free: 16.68 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1035, allocations: 60.25 MB / 492.8 MB, free: 4.293 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.354/8.457, allocations: 2.866 GB / 3.347 GB, free: 72.73 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003139/8.458, allocations: 82.2 kB / 3.347 GB, free: 72.7 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.722/10.18, allocations: 431.5 MB / 3.769 GB, free: 43.93 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.884e-06/10.18, allocations: 2.078 kB / 3.769 GB, free: 43.93 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.592e-05/10.18, allocations: 25.7 kB / 3.769 GB, free: 43.92 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.007809/10.19, allocations: 1.446 MB / 3.77 GB, free: 42.93 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.741e-05/10.19, allocations: 7.812 kB / 3.77 GB, free: 42.93 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001245/10.19, allocations: 90.14 kB / 3.77 GB, free: 42.84 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005172/10.19, allocations: 131.9 kB / 3.77 GB, free: 42.78 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001175/10.19, allocations: 0.5928 MB / 3.771 GB, free: 42.29 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.108e-05/10.19, allocations: 37.44 kB / 3.771 GB, free: 42.28 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.07e-05/10.19, allocations: 50.47 kB / 3.771 GB, free: 42.26 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001623/10.19, allocations: 0.9378 MB / 3.772 GB, free: 41.58 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/10.19, allocations: 3.938 kB / 3.772 GB, free: 41.58 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.849e-05/10.19, allocations: 27.55 kB / 3.772 GB, free: 41.56 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.599e-05/10.19, allocations: 11.5 kB / 3.772 GB, free: 41.56 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001541/10.19, allocations: 0.8023 MB / 3.773 GB, free: 41.19 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.003137/10.2, allocations: 3.224 MB / 3.776 GB, free: 38.16 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008446/10.2, allocations: 396.7 kB / 3.776 GB, free: 37.97 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002532/10.2, allocations: 166.7 kB / 3.776 GB, free: 37.89 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05617/10.25, allocations: 31.98 MB / 3.808 GB, free: 3.965 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.918e-05/10.25, allocations: 34.56 kB / 3.808 GB, free: 3.922 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001014/10.25, allocations: 131.5 kB / 3.808 GB, free: 3.793 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=31): time 4.969e-06/10.25, allocations: 0 / 3.808 GB, free: 3.793 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31): time 0.002808/10.26, allocations: 0.8132 MB / 3.809 GB, free: 2.969 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/10.26, allocations: 55.41 kB / 3.809 GB, free: 2.902 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007839/10.26, allocations: 0.5234 MB / 3.809 GB, free: 2.375 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.227e-05/10.26, allocations: 33.7 kB / 3.809 GB, free: 2.336 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002346/10.26, allocations: 351 kB / 3.81 GB, free: 1.992 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.162e-05/10.26, allocations: 110.4 kB / 3.81 GB, free: 1.887 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.19e-05/10.26, allocations: 7.938 kB / 3.81 GB, free: 1.879 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.659e-05/10.26, allocations: 318 kB / 3.81 GB, free: 1.562 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001899/10.26, allocations: 108.6 kB / 3.81 GB, free: 1.453 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002044/10.26, allocations: 154.4 kB / 3.81 GB, free: 1.285 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002067/10.26, allocations: 119.8 kB / 3.81 GB, free: 1.168 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/10.26, allocations: 0 / 3.81 GB, free: 1.168 MB / 0.5105 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009171/10.26, allocations: 0.5164 MB / 3.811 GB, free: 0.6406 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002047/10.26, allocations: 0.5336 MB / 3.811 GB, free: 68 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/10.26, allocations: 0 / 3.811 GB, free: 68 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006913/10.27, allocations: 1.038 MB / 3.812 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002651/10.27, allocations: 55.95 kB / 3.812 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001803/10.27, allocations: 0.9267 MB / 3.813 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008521/10.27, allocations: 59.81 kB / 3.813 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.383e-05/10.27, allocations: 19.98 kB / 3.813 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/10.27, allocations: 4 kB / 3.813 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009234/10.27, allocations: 356.4 kB / 3.814 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/10.27, allocations: 0 / 3.814 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004026/10.27, allocations: 84.94 kB / 3.814 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004109/10.27, allocations: 91.86 kB / 3.814 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001598/10.27, allocations: 1.468 MB / 3.815 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007571/10.27, allocations: 59.98 kB / 3.815 GB, free: 11.74 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.436e-05/10.27, allocations: 19.98 kB / 3.815 GB, free: 11.72 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 (V5.fluidState.phase,V4.fluidState.phase,V3.fluidState.phase,V2.fluidState.phase,V1.fluidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 17} Notification: Performance of prepare postOptimizeDAE: time 0.0001608/10.28, allocations: 117 kB / 3.816 GB, free: 11.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001342/10.28, allocations: 79.06 kB / 3.816 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003301/10.28, allocations: 2.031 MB / 3.818 GB, free: 9.473 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.788e-05/10.28, allocations: 23.97 kB / 3.818 GB, free: 9.449 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/10.28, allocations: 0 / 3.818 GB, free: 9.449 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.247e-06/10.28, allocations: 0 / 3.818 GB, free: 9.449 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00142/10.28, allocations: 0.9454 MB / 3.819 GB, free: 8.461 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.431e-06/10.28, allocations: 4 kB / 3.819 GB, free: 8.457 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002009/10.28, allocations: 43.95 kB / 3.819 GB, free: 8.414 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005866/10.29, allocations: 3.014 MB / 3.822 GB, free: 5.406 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.208e-05/10.29, allocations: 8 kB / 3.822 GB, free: 5.398 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002497/10.29, allocations: 2.041 MB / 3.824 GB, free: 3.328 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/10.29, allocations: 0 / 3.824 GB, free: 3.328 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002646/10.29, allocations: 1.759 MB / 3.825 GB, free: 1.547 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003678/10.29, allocations: 183.6 kB / 3.825 GB, free: 1.348 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.827e-05/10.29, allocations: 4 kB / 3.825 GB, free: 1.344 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004806/10.29, allocations: 55.86 kB / 3.826 GB, free: 1.289 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001209/10.29, allocations: 40.33 kB / 3.826 GB, free: 1.25 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.74e-05/10.29, allocations: 12 kB / 3.826 GB, free: 1.238 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006446/10.29, allocations: 427.2 kB / 3.826 GB, free: 0.8242 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/10.29, allocations: 0 / 3.826 GB, free: 0.8242 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.4885/10.78, allocations: 1.14 MB / 3.827 GB, free: 77.69 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($cse3.phase,$cse3.region,$cse8.phase,$cse8.region,$cse13.phase,$cse13.region,$cse18.phase,$cse18.region,$cse22.phase,$cse22.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 35} Notification: Performance of Backend phase and start with SimCode phase: time 0.01161/10.79, allocations: 3.222 MB / 3.83 GB, free: 76.97 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002443/10.8, allocations: 0.8077 MB / 3.831 GB, free: 76.84 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.9e-06/10.8, allocations: 0 / 3.831 GB, free: 76.84 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0009756/10.8, allocations: 452.3 kB / 3.831 GB, free: 76.82 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002519/10.8, allocations: 424.3 kB / 3.832 GB, free: 76.81 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005406/10.8, allocations: 1.586 MB / 3.833 GB, free: 76.46 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006749/10.81, allocations: 1.015 MB / 3.834 GB, free: 75.75 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0009411/10.81, allocations: 298.4 kB / 3.835 GB, free: 75.74 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003523/10.81, allocations: 309.3 kB / 3.835 GB, free: 75.73 MB / 0.5261 GB Notification: Performance of SimCode: time 1.272e-06/10.81, allocations: 1.031 kB / 3.835 GB, free: 75.73 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1188/10.93, allocations: 56.41 MB / 3.89 GB, free: 73.96 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002249/10.93, allocations: 175.6 kB / 3.89 GB, free: 73.73 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.85/14.78, allocations: 3.938 kB / 3.89 GB, free: 73.73 MB / 0.5261 GB (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestValves.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestValves.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestValves.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestValves.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_WaterComponents_TestValves_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_TestValves.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestValves.pipe 2>&1)