Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Valves.test_polynomial.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/TAeZoSysPro master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo", uses=false) Using package TAeZoSysPro_testsuite with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo) Using package TAeZoSysPro with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro 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: translateModel(TAeZoSysPro_testsuite.FluidDynamics.Components.Valves.test_polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Valves.test_polynomial") translateModel(TAeZoSysPro_testsuite.FluidDynamics.Components.Valves.test_polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Valves.test_polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 108.3 kB / 16.41 MB, free: 6.453 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.00124/0.00124, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.48/1.48, allocations: 205.1 MB / 223.2 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06756/0.06756, allocations: 10.97 MB / 281.6 MB, free: 0.9961 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.02017/0.02017, allocations: 4.241 MB / 335.3 MB, free: 11.14 MB / 286.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.001379/0.001379, allocations: 71.89 kB / 448.2 MB, free: 32.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08767/0.08906, allocations: 49.74 MB / 498 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.FluidDynamics.Components.Valves.test_polynomial): time 0.002908/0.09201, allocations: 1.358 MB / 499.3 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003707/0.09241, allocations: 99.77 kB / 499.4 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.586e-05/0.09247, allocations: 0 / 499.4 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.178e-05/0.09251, allocations: 0 / 499.4 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.959e-05/0.09259, allocations: 7.875 kB / 499.5 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003187/0.09291, allocations: 15.97 kB / 499.5 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.646e-05/0.09301, allocations: 15.94 kB / 499.5 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.52e-05/0.09308, allocations: 7.984 kB / 499.5 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.095e-05/0.09312, allocations: 12 kB / 499.5 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.245e-05/0.09316, allocations: 15.91 kB / 499.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.09318, allocations: 0 / 499.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.517e-05/0.09327, allocations: 12 kB / 499.5 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.624e-05/0.0933, allocations: 7.984 kB / 499.5 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.763e-05/0.09333, allocations: 7.938 kB / 499.5 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001379/0.09347, allocations: 43.77 kB / 499.6 MB, free: 13.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.09349, allocations: 3.938 kB / 499.6 MB, free: 13.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.0935, allocations: 0 / 499.6 MB, free: 13.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.127e-05/0.09351, allocations: 0 / 499.6 MB, free: 13.29 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004999/0.09402, allocations: 343.5 kB / 499.9 MB, free: 12.9 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.09407, allocations: 8.031 kB / 499.9 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.52e-05/0.09412, allocations: 4.938 kB / 499.9 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.09426, allocations: 168.3 kB / 0.4884 GB, free: 12.69 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.09428, allocations: 384 / 0.4884 GB, free: 12.69 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.506e-05/0.0943, allocations: 4.375 kB / 0.4884 GB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001983/0.0945, allocations: 46.23 kB / 0.4884 GB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.09453, allocations: 4.188 kB / 0.4884 GB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.09455, allocations: 7.938 kB / 0.4884 GB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.09456, allocations: 0 / 0.4884 GB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001732/0.09474, allocations: 31.91 kB / 0.4885 GB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004492/0.0952, allocations: 257 kB / 0.4887 GB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001299/0.09534, allocations: 42.5 kB / 0.4888 GB, free: 12.24 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.84e-05/0.09544, allocations: 24.89 kB / 0.4888 GB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.84e-05/0.09549, allocations: 0 / 0.4888 GB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.09553, allocations: 34.56 kB / 0.4888 GB, free: 12.17 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.09553, allocations: 0 / 0.4888 GB, free: 12.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003966/0.09593, allocations: 85.58 kB / 0.4889 GB, free: 12.08 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/0.09599, allocations: 51.41 kB / 0.4889 GB, free: 12.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.894e-05/0.09609, allocations: 105.8 kB / 0.489 GB, free: 11.9 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.09611, allocations: 25.7 kB / 0.4891 GB, free: 11.87 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.241e-05/0.09617, allocations: 84.08 kB / 0.4892 GB, free: 11.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.097e-05/0.09619, allocations: 7.891 kB / 0.4892 GB, free: 11.78 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.207e-05/0.09624, allocations: 17.72 kB / 0.4892 GB, free: 11.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.09636, allocations: 315 kB / 0.4895 GB, free: 11.44 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.848e-05/0.09646, allocations: 19.98 kB / 0.4895 GB, free: 11.42 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.432e-05/0.09654, allocations: 15.97 kB / 0.4895 GB, free: 11.4 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001587/0.0967, allocations: 40.77 kB / 0.4896 GB, free: 11.36 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.09672, allocations: 0 / 0.4896 GB, free: 11.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002226/0.09695, allocations: 73.59 kB / 0.4896 GB, free: 11.28 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.728e-05/0.09698, allocations: 8 kB / 0.4896 GB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.097, allocations: 0 / 0.4896 GB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.09702, allocations: 0 / 0.4896 GB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.56e-05/0.09712, allocations: 7.984 kB / 0.4896 GB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.09714, allocations: 4 kB / 0.4896 GB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.784e-05/0.09719, allocations: 8 kB / 0.4896 GB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.09721, allocations: 0 / 0.4896 GB, free: 11.25 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.582e-05/0.0973, allocations: 125.8 kB / 0.4898 GB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.081e-05/0.09734, allocations: 7.906 kB / 0.4898 GB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002664/0.09761, allocations: 76.61 kB / 0.4898 GB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.09762, allocations: 0 / 0.4898 GB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.09764, allocations: 4 kB / 0.4899 GB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.09764, allocations: 0 / 0.4899 GB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001731/0.09783, allocations: 161.6 kB / 0.49 GB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.09784, allocations: 0 / 0.49 GB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.892e-05/0.0979, allocations: 7.984 kB / 0.49 GB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.069e-05/0.09792, allocations: 4 kB / 0.49 GB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.906e-06/0.09793, allocations: 0 / 0.49 GB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.065e-06/0.09794, allocations: 3.984 kB / 0.49 GB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.09795, allocations: 0 / 0.49 GB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002538/0.09821, allocations: 171.4 kB / 0.4902 GB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.403e-05/0.09826, allocations: 81.09 kB / 0.4903 GB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.09828, allocations: 0 / 0.4903 GB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.473e-05/0.09836, allocations: 4 kB / 0.4903 GB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.057e-05/0.09841, allocations: 7.984 kB / 0.4903 GB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.09842, allocations: 0 / 0.4903 GB, free: 10.51 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.136e-05/0.09846, allocations: 83.28 kB / 0.4904 GB, free: 10.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.09847, allocations: 0 / 0.4904 GB, free: 10.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002313/0.09871, allocations: 8.031 kB / 0.4904 GB, free: 10.42 MB / 350.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001348/0.09885, allocations: 99.25 kB / 0.4905 GB, free: 10.31 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002234/0.09908, allocations: 35.95 kB / 0.4905 GB, free: 10.28 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.09909, allocations: 0 / 0.4905 GB, free: 10.28 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.904e-05/0.09918, allocations: 23.92 kB / 0.4905 GB, free: 10.25 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003095/0.0995, allocations: 12.06 kB / 0.4905 GB, free: 10.24 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003252/0.09984, allocations: 131.7 kB / 0.4906 GB, free: 10.08 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002622/0.1001, allocations: 0.6768 MB / 0.4913 GB, free: 9.379 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.028e-05/0.1002, allocations: 11.44 kB / 0.4913 GB, free: 9.371 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1002, allocations: 0 / 0.4913 GB, free: 9.371 MB / 350.1 MB Notification: Performance of Templates: time 0.002299/0.1025, allocations: 0.6633 MB / 0.492 GB, free: 8.719 MB / 350.1 MB make -j1 -f TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Valves.test_polynomial.makefile (rm -f TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Valves.test_polynomial.pipe ; mkfifo TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Valves.test_polynomial.pipe ; head -c 1048576 < TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Valves.test_polynomial.pipe >> ../files/TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Valves.test_polynomial.sim & ./TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Valves.test_polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Valves.test_polynomial.pipe 2>&1)