Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestCoeffValve,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestCoeffValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestCoeffValve,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestCoeffValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 88.16 kB / 16.31 MB, free: 5.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 177.8 kB / 17.2 MB, free: 5.555 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.531/1.531, allocations: 205.4 MB / 223.4 MB, free: 5.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4102/0.4102, allocations: 48.77 MB / 320.4 MB, free: 3.82 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004819/0.0004819, allocations: 20.22 kB / 391.3 MB, free: 14.2 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09581/0.0963, allocations: 60.26 MB / 451.5 MB, free: 1.805 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoeffValve): time 0.2601/0.3564, allocations: 72.33 MB / 0.5116 GB, free: 416 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01266/0.3691, allocations: 10.48 MB / 0.5218 GB, free: 7.941 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008918/0.3701, allocations: 25.31 kB / 0.5218 GB, free: 7.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009748/0.371, allocations: 313 kB / 0.5221 GB, free: 7.664 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001306/0.3724, allocations: 0.5475 MB / 0.5227 GB, free: 7.203 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01333/0.3857, allocations: 4.509 MB / 0.5271 GB, free: 3.844 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002167/0.3879, allocations: 1.594 MB / 0.5286 GB, free: 2.906 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005834/0.3885, allocations: 324.4 kB / 0.5289 GB, free: 2.699 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007073/0.3892, allocations: 427.3 kB / 0.5294 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005834/0.3898, allocations: 461.3 kB / 0.5298 GB, free: 2.246 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.263e-05/0.3899, allocations: 25.91 kB / 0.5298 GB, free: 2.242 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01072/0.4006, allocations: 6.009 MB / 0.5357 GB, free: 12.23 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001874/0.4008, allocations: 95.47 kB / 0.5358 GB, free: 12.13 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000409/0.4013, allocations: 181.3 kB / 0.5359 GB, free: 11.95 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004547/0.4058, allocations: 2.733 MB / 0.5386 GB, free: 9.211 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.4058, allocations: 0 / 0.5386 GB, free: 9.211 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.4058, allocations: 0 / 0.5386 GB, free: 9.211 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.4059, allocations: 4 kB / 0.5386 GB, free: 9.207 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.002846/0.4087, allocations: 1.353 MB / 0.5399 GB, free: 7.801 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.4088, allocations: 12.03 kB / 0.54 GB, free: 7.789 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.577e-05/0.4088, allocations: 90.52 kB / 0.54 GB, free: 7.691 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003194/0.4092, allocations: 122.9 kB / 0.5402 GB, free: 7.57 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005706/0.4097, allocations: 482.6 kB / 0.5406 GB, free: 7.059 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.969e-05/0.4098, allocations: 41.44 kB / 0.5407 GB, free: 7.02 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.318e-05/0.4098, allocations: 48 kB / 0.5407 GB, free: 6.973 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001063/0.4109, allocations: 0.6106 MB / 0.5413 GB, free: 6.293 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.4109, allocations: 4 kB / 0.5413 GB, free: 6.289 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.159e-05/0.411, allocations: 20 kB / 0.5413 GB, free: 6.27 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.597e-05/0.411, allocations: 16 kB / 0.5413 GB, free: 6.254 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007073/0.4117, allocations: 357.9 kB / 0.5417 GB, free: 5.906 MB / 414.1 MB 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.003144/0.4149, allocations: 3.554 MB / 0.5451 GB, free: 2.082 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004812/0.4154, allocations: 186.4 kB / 0.5453 GB, free: 1.863 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.314e-05/0.4155, allocations: 55.52 kB / 0.5454 GB, free: 1.797 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05736/0.4728, allocations: 32.3 MB / 0.5769 GB, free: 13.68 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.33e-05/0.4729, allocations: 38.5 kB / 0.577 GB, free: 13.63 MB / 462.1 MB Notification: Performance of pre-optimization done (n=12): time 1.733e-06/0.4729, allocations: 0 / 0.577 GB, free: 13.63 MB / 462.1 MB Notification: Performance of matching and sorting (n=12): time 0.001128/0.4741, allocations: 360.4 kB / 0.5773 GB, free: 13.27 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.696e-05/0.4741, allocations: 128.5 kB / 0.5774 GB, free: 13.12 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000772/0.4749, allocations: 0.724 MB / 0.5781 GB, free: 12.39 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/0.4749, allocations: 29.7 kB / 0.5782 GB, free: 12.35 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000253/0.4752, allocations: 355.8 kB / 0.5785 GB, free: 12 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.535e-05/0.4752, allocations: 39.45 kB / 0.5785 GB, free: 11.96 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.267e-05/0.4752, allocations: 4 kB / 0.5785 GB, free: 11.96 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.4754, allocations: 314 kB / 0.5788 GB, free: 11.64 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.009e-05/0.4754, allocations: 39.98 kB / 0.5789 GB, free: 11.61 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.4756, allocations: 124.7 kB / 0.579 GB, free: 11.45 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001068/0.4757, allocations: 63.98 kB / 0.5791 GB, free: 11.39 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4757, allocations: 0 / 0.5791 GB, free: 11.39 MB / 462.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003839/0.4761, allocations: 277.2 kB / 0.5793 GB, free: 11.11 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.604e-05/0.4762, allocations: 170.6 kB / 0.5795 GB, free: 10.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.4762, allocations: 7.938 kB / 0.5795 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.4762, allocations: 4.094 kB / 0.5795 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002724/0.4765, allocations: 59.94 kB / 0.5796 GB, free: 10.83 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.4765, allocations: 7.938 kB / 0.5796 GB, free: 10.82 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003784/0.4769, allocations: 63.27 kB / 0.5796 GB, free: 10.76 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.271e-05/0.4769, allocations: 12 kB / 0.5796 GB, free: 10.75 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.786e-06/0.477, allocations: 4 kB / 0.5796 GB, free: 10.75 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002396/0.4772, allocations: 155.6 kB / 0.5798 GB, free: 10.59 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.4772, allocations: 4.938 kB / 0.5798 GB, free: 10.59 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.61e-06/0.4772, allocations: 7.953 kB / 0.5798 GB, free: 10.58 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002047/0.4774, allocations: 47.91 kB / 0.5798 GB, free: 10.54 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.4774, allocations: 5.25 kB / 0.5799 GB, free: 10.53 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002815/0.4777, allocations: 63.36 kB / 0.5799 GB, free: 10.47 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.515e-05/0.4778, allocations: 8 kB / 0.5799 GB, free: 10.46 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 4 (ValveLiq4.fluidState.phase,ValveLiq3.fluidState.phase,ValveLiq2.fluidState.phase,ValveLiq1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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 0.000191/0.478, allocations: 245 kB / 0.5802 GB, free: 10.21 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001325/0.4781, allocations: 79.06 kB / 0.5802 GB, free: 10.13 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005748/0.4787, allocations: 0.524 MB / 0.5807 GB, free: 9.602 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.4787, allocations: 4 kB / 0.5807 GB, free: 9.598 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.4787, allocations: 0 / 0.5807 GB, free: 9.598 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.4787, allocations: 0 / 0.5807 GB, free: 9.598 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007225/0.4794, allocations: 0.6088 MB / 0.5813 GB, free: 8.941 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.4794, allocations: 5.562 kB / 0.5813 GB, free: 8.938 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.099e-05/0.4795, allocations: 31.86 kB / 0.5814 GB, free: 8.906 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.4795, allocations: 0 / 0.5814 GB, free: 8.906 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.4796, allocations: 8 kB / 0.5814 GB, free: 8.898 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.4796, allocations: 3.953 kB / 0.5814 GB, free: 8.895 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.4796, allocations: 384 / 0.5814 GB, free: 8.895 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000326/0.4799, allocations: 0.5026 MB / 0.5819 GB, free: 8.375 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000225/0.4801, allocations: 239.7 kB / 0.5821 GB, free: 8.121 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/0.4802, allocations: 11.94 kB / 0.5821 GB, free: 8.109 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003577/0.4806, allocations: 23.83 kB / 0.5821 GB, free: 8.086 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.095e-05/0.4806, allocations: 11.94 kB / 0.5822 GB, free: 8.074 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.4807, allocations: 9 kB / 0.5822 GB, free: 8.066 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008021/0.4815, allocations: 0.715 MB / 0.5829 GB, free: 7.344 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4815, allocations: 0 / 0.5829 GB, free: 7.344 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002575/0.484, allocations: 1.05 MB / 0.5839 GB, free: 6.293 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (12): * Single equations (assignments): 12 * 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.003577/0.4876, allocations: 1.924 MB / 0.5858 GB, free: 4.34 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003648/0.488, allocations: 192.9 kB / 0.5859 GB, free: 4.152 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.488, allocations: 0 / 0.5859 GB, free: 4.152 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 4.924e-05/0.4881, allocations: 35.92 kB / 0.586 GB, free: 4.117 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002344/0.4904, allocations: 457 kB / 0.5864 GB, free: 3.672 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005447/0.4959, allocations: 3.952 MB / 0.5903 GB, free: 15.61 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004148/0.4963, allocations: 0.9294 MB / 0.5912 GB, free: 14.65 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005382/0.4969, allocations: 292.7 kB / 0.5915 GB, free: 14.37 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003075/0.4972, allocations: 295.3 kB / 0.5917 GB, free: 14.08 MB / 478.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4972, allocations: 0 / 0.5917 GB, free: 14.08 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3769/0.8741, allocations: 47.62 MB / 0.6383 GB, free: 164.6 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000123/0.8743, allocations: 187 kB / 0.6384 GB, free: 164.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.372/5.246, allocations: 3.625 kB / 0.6384 GB, free: 164.3 MB / 0.4981 GB (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_WaterComponents_TestCoeffValve_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_TestCoeffValve.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe 2>&1) Environment - environmentSimulation: