Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.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/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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 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: translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001339/0.001339, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.495/1.495, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.325/0.325, allocations: 38.02 MB / 308.4 MB, free: 10.32 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: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005569/0.0005571, allocations: 15.98 kB / 376.4 MB, free: 15.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.123, allocations: 57.52 MB / 433.9 MB, free: 5.574 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients): time 0.2442/0.3672, allocations: 68.64 MB / 0.4908 GB, free: 13.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02789/0.3952, allocations: 24.62 MB / 0.5148 GB, free: 12.54 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002325/0.3976, allocations: 47 kB / 0.5149 GB, free: 12.51 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003417/0.401, allocations: 0.9859 MB / 0.5158 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01388/0.4149, allocations: 4.088 MB / 0.5198 GB, free: 9.789 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01832/0.4332, allocations: 6.207 MB / 0.5259 GB, free: 6.516 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004736/0.438, allocations: 2.196 MB / 0.528 GB, free: 5.375 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001788/0.4398, allocations: 0.8175 MB / 0.5288 GB, free: 4.941 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004055/0.4439, allocations: 1.208 MB / 0.53 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001511/0.4454, allocations: 0.7775 MB / 0.5308 GB, free: 3.805 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001727/0.4456, allocations: 61.88 kB / 0.5308 GB, free: 3.805 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01959/0.4652, allocations: 8.289 MB / 0.5389 GB, free: 120 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007808/0.466, allocations: 310.1 kB / 0.5392 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000916/0.4669, allocations: 332.4 kB / 0.5395 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009631/0.4766, allocations: 4.669 MB / 0.5441 GB, free: 12.11 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.4766, allocations: 4 kB / 0.5441 GB, free: 12.11 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.4766, allocations: 0 / 0.5441 GB, free: 12.11 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.094e-05/0.4767, allocations: 4 kB / 0.5441 GB, free: 12.1 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: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.006254/0.4829, allocations: 2.421 MB / 0.5465 GB, free: 9.625 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.483, allocations: 8.031 kB / 0.5465 GB, free: 9.617 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006847/0.4898, allocations: 0.8879 MB / 0.5473 GB, free: 8.727 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001871/0.4917, allocations: 0.8925 MB / 0.5482 GB, free: 7.789 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001072/0.4918, allocations: 110.3 kB / 0.5483 GB, free: 7.68 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001555/0.492, allocations: 116 kB / 0.5484 GB, free: 7.566 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005584/0.4976, allocations: 2.271 MB / 0.5506 GB, free: 5.137 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.584e-05/0.4976, allocations: 7.938 kB / 0.5507 GB, free: 5.129 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001293/0.4978, allocations: 56 kB / 0.5507 GB, free: 5.074 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.698e-05/0.4978, allocations: 32 kB / 0.5507 GB, free: 5.043 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005841/0.5037, allocations: 2.174 MB / 0.5529 GB, free: 2.859 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01333/0.517, allocations: 10.38 MB / 0.563 GB, free: 7.645 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004978/0.522, allocations: 1.666 MB / 0.5646 GB, free: 5.969 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04735/0.5694, allocations: 24.28 MB / 0.5883 GB, free: 10.82 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5e-05/0.5695, allocations: 43.22 kB / 0.5884 GB, free: 10.77 MB / 462.1 MB Notification: Performance of pre-optimization done (n=80): time 2.284e-06/0.5695, allocations: 0 / 0.5884 GB, free: 10.77 MB / 462.1 MB Notification: Performance of matching and sorting (n=80): time 0.009069/0.5786, allocations: 2.736 MB / 0.5911 GB, free: 8.027 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001378/0.5787, allocations: 273.7 kB / 0.5913 GB, free: 7.699 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001629/0.5804, allocations: 1.157 MB / 0.5924 GB, free: 6.535 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001184/0.5805, allocations: 41.7 kB / 0.5925 GB, free: 6.488 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005377/0.5811, allocations: 0.6201 MB / 0.5931 GB, free: 5.859 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002563/0.5813, allocations: 264.2 kB / 0.5933 GB, free: 5.598 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.378e-05/0.5814, allocations: 24 kB / 0.5934 GB, free: 5.574 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.5815, allocations: 353.9 kB / 0.5937 GB, free: 5.223 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001159/0.5827, allocations: 0.4905 MB / 0.5942 GB, free: 4.73 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001505/0.5842, allocations: 0.9199 MB / 0.5951 GB, free: 3.617 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001333/0.5855, allocations: 0.573 MB / 0.5956 GB, free: 3.047 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.617e-06/0.5856, allocations: 4 kB / 0.5956 GB, free: 3.043 MB / 462.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.003527/0.5891, allocations: 1.543 MB / 0.5971 GB, free: 1.492 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001892/0.591, allocations: 4.91 MB / 0.6019 GB, free: 12.23 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.244e-05/0.591, allocations: 12 kB / 0.602 GB, free: 12.22 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.792e-05/0.5911, allocations: 24 kB / 0.602 GB, free: 12.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001282/0.5924, allocations: 355.5 kB / 0.6023 GB, free: 11.85 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.828e-05/0.5924, allocations: 23.94 kB / 0.6023 GB, free: 11.82 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001388/0.5938, allocations: 270.2 kB / 0.6026 GB, free: 11.56 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/0.5939, allocations: 71.97 kB / 0.6027 GB, free: 11.49 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.367e-06/0.5939, allocations: 4 kB / 0.6027 GB, free: 11.48 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003023/0.597, allocations: 1.367 MB / 0.604 GB, free: 10.12 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.77e-05/0.597, allocations: 24.06 kB / 0.604 GB, free: 10.09 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.597, allocations: 24 kB / 0.604 GB, free: 10.07 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001165/0.5982, allocations: 351.5 kB / 0.6044 GB, free: 9.727 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.149e-05/0.5982, allocations: 31.86 kB / 0.6044 GB, free: 9.695 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001291/0.5995, allocations: 238.4 kB / 0.6046 GB, free: 9.461 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001277/0.5997, allocations: 67.94 kB / 0.6047 GB, free: 9.395 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 16 (SourceP1.medium.phase,SinkP1.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP3.medium.phase,SinkP3.medium.phase,SourceP4.medium.phase,SinkP4.medium.phase,V4.state_b.phase,V4.state_a.phase,V3.state_b.phase,V3.state_a.phase,V2.state_b.phase,V2.state_a.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (143): * Single equations (assignments): 143 * 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.0007074/0.6004, allocations: 396.6 kB / 0.6051 GB, free: 8.996 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003255/0.6007, allocations: 134.4 kB / 0.6052 GB, free: 8.863 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007898/0.6086, allocations: 6.65 MB / 0.6117 GB, free: 2.176 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.201e-05/0.6087, allocations: 83.86 kB / 0.6118 GB, free: 2.094 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.165e-05/0.6088, allocations: 0 / 0.6118 GB, free: 2.094 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.519e-05/0.6088, allocations: 7.969 kB / 0.6118 GB, free: 2.086 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004055/0.6128, allocations: 3.262 MB / 0.615 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.329e-05/0.6129, allocations: 0 / 0.615 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009794/0.6139, allocations: 271.7 kB / 0.6152 GB, free: 14.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.498e-05/0.6139, allocations: 4 kB / 0.6152 GB, free: 14.5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.177e-05/0.614, allocations: 28 kB / 0.6153 GB, free: 14.47 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.164e-06/0.614, allocations: 8 kB / 0.6153 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.614, allocations: 0 / 0.6153 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004125/0.6181, allocations: 2.986 MB / 0.6182 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001227/0.6194, allocations: 0.8928 MB / 0.6191 GB, free: 10.53 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003863/0.6198, allocations: 16 kB / 0.6191 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001259/0.621, allocations: 131.8 kB / 0.6192 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002102/0.6212, allocations: 108.8 kB / 0.6193 GB, free: 10.28 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.218e-05/0.6213, allocations: 39.92 kB / 0.6193 GB, free: 10.24 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002355/0.6237, allocations: 1.613 MB / 0.6209 GB, free: 8.617 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6237, allocations: 4 kB / 0.6209 GB, free: 8.613 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005864/0.6296, allocations: 1.764 MB / 0.6227 GB, free: 6.848 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 56 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse14.phase,$cse14.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse21.phase,$cse21.region,$cse25.phase,$cse25.region,$cse28.phase,$cse28.region,$cse29.phase,$cse29.region,$cse32.phase,$cse32.region,$cse36.phase,$cse36.region,$cse39.phase,$cse39.region,$cse40.phase,$cse40.region,$cse43.phase,$cse43.region,$cse47.phase,$cse47.region,$cse50.phase,$cse50.region,$cse51.phase,$cse51.region,$cse54.phase,$cse54.region,SourceP1.medium.phase,SinkP1.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP3.medium.phase,SinkP3.medium.phase,SourceP4.medium.phase,SinkP4.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 24 * 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.006596/0.6362, allocations: 1.372 MB / 0.624 GB, free: 5.48 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005313/0.6415, allocations: 2.597 MB / 0.6265 GB, free: 2.891 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.263e-06/0.6416, allocations: 0 / 0.6265 GB, free: 2.891 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001799/0.6434, allocations: 1.465 MB / 0.628 GB, free: 1.422 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003829/0.6472, allocations: 0.8014 MB / 0.6287 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1775/0.8248, allocations: 6.434 MB / 0.635 GB, free: 146.4 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009269/0.8257, allocations: 1.864 MB / 0.6368 GB, free: 145.6 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002607/0.8284, allocations: 2.115 MB / 0.6389 GB, free: 145.6 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002762/0.8286, allocations: 134.1 kB / 0.639 GB, free: 145.6 MB / 494.1 MB Notification: Performance of SimCode: time 8.52e-07/0.8287, allocations: 0 / 0.639 GB, free: 145.6 MB / 494.1 MB Notification: Performance of Templates: time 0.08443/0.9131, allocations: 63.89 MB / 0.7014 GB, free: 114.4 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.pipe 2>&1) Environment - environmentSimulation: