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/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/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 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(TAeZoSysPro_testsuite.FluidDynamics.Components.Valves.test_polynomial,fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_Valves_test_polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(TAeZoSysPro_testsuite.FluidDynamics.Components.Valves.test_polynomial,fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_Valves_test_polynomial",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.004917/0.004917, allocations: 168.7 kB / 15.13 MB, free: 6.023 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.501/1.501, allocations: 205.4 MB / 221.3 MB, free: 13.81 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.001319/0.001319, allocations: 98.23 kB / 269.6 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.05796/0.05796, allocations: 10.98 MB / 328.9 MB, free: 11.88 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.01713/0.01713, allocations: 4.236 MB / 383.5 MB, free: 5.039 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004821/0.0004823, allocations: 8 kB / 446.2 MB, free: 43.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07747/0.07798, allocations: 50.77 MB / 497 MB, free: 9.074 MB / 298.7 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.FluidDynamics.Components.Valves.test_polynomial): time 0.001363/0.07938, allocations: 1.076 MB / 498.1 MB, free: 7.984 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002573/0.07966, allocations: 91.83 kB / 498.1 MB, free: 7.895 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.13e-05/0.07969, allocations: 0 / 498.1 MB, free: 7.895 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.278e-05/0.07971, allocations: 0 / 498.1 MB, free: 7.895 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.491e-05/0.07976, allocations: 3.938 kB / 498.2 MB, free: 7.891 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002171/0.07999, allocations: 19.97 kB / 498.2 MB, free: 7.871 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.172e-05/0.08006, allocations: 19.92 kB / 498.2 MB, free: 7.852 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.797e-05/0.08011, allocations: 7.938 kB / 498.2 MB, free: 7.844 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.825e-05/0.08015, allocations: 11.98 kB / 498.2 MB, free: 7.832 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.958e-05/0.08018, allocations: 3.938 kB / 498.2 MB, free: 7.828 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.08021, allocations: 8 kB / 498.2 MB, free: 7.82 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.046e-05/0.08029, allocations: 15.98 kB / 498.2 MB, free: 7.805 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.795e-06/0.0803, allocations: 0 / 498.2 MB, free: 7.805 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.392e-05/0.08033, allocations: 25.7 kB / 498.3 MB, free: 7.773 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.454e-05/0.08042, allocations: 32.11 kB / 498.3 MB, free: 7.742 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.08044, allocations: 0 / 498.3 MB, free: 7.742 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.08044, allocations: 0 / 498.3 MB, free: 7.742 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.616e-06/0.08045, allocations: 0 / 498.3 MB, free: 7.742 MB / 298.7 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.0003901/0.08085, allocations: 343.2 kB / 498.6 MB, free: 7.359 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.08089, allocations: 12.03 kB / 498.6 MB, free: 7.348 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.923e-05/0.08092, allocations: 34.56 kB / 498.7 MB, free: 7.305 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.979e-05/0.08095, allocations: 0 / 498.7 MB, free: 7.305 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.816e-05/0.08105, allocations: 171 kB / 498.8 MB, free: 7.098 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.08107, allocations: 0 / 498.8 MB, free: 7.098 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.189e-05/0.08109, allocations: 0 / 498.8 MB, free: 7.098 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001677/0.08126, allocations: 57.67 kB / 498.9 MB, free: 7.035 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.08128, allocations: 0 / 498.9 MB, free: 7.035 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.08129, allocations: 0 / 498.9 MB, free: 7.035 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.0813, allocations: 3.984 kB / 498.9 MB, free: 7.031 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001711/0.08148, allocations: 43.97 kB / 498.9 MB, free: 6.988 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003862/0.08187, allocations: 276.8 kB / 499.2 MB, free: 6.668 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001177/0.082, allocations: 38.56 kB / 499.3 MB, free: 6.621 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.274e-05/0.0821, allocations: 32.89 kB / 499.3 MB, free: 6.586 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.141e-05/0.08214, allocations: 0 / 499.3 MB, free: 6.586 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.08217, allocations: 34.56 kB / 499.3 MB, free: 6.543 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.08218, allocations: 0 / 499.3 MB, free: 6.543 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003467/0.08253, allocations: 101.6 kB / 499.4 MB, free: 6.438 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.943e-05/0.08257, allocations: 51.41 kB / 499.5 MB, free: 6.375 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.508e-05/0.08264, allocations: 97.86 kB / 499.6 MB, free: 6.27 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.08266, allocations: 25.7 kB / 499.6 MB, free: 6.238 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.888e-05/0.0827, allocations: 88.25 kB / 499.7 MB, free: 6.148 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.807e-05/0.08273, allocations: 19.78 kB / 499.7 MB, free: 6.129 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.956e-06/0.08273, allocations: 0 / 499.7 MB, free: 6.129 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.08285, allocations: 314.8 kB / 500 MB, free: 5.812 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.192e-05/0.08294, allocations: 15.98 kB / 0.4883 GB, free: 5.797 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.019e-05/0.08303, allocations: 31.97 kB / 0.4883 GB, free: 5.766 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.85e-05/0.08311, allocations: 19.98 kB / 0.4883 GB, free: 5.746 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.08312, allocations: 0 / 0.4883 GB, free: 5.746 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001942/0.08332, allocations: 81.66 kB / 0.4884 GB, free: 5.66 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.08334, allocations: 4 kB / 0.4884 GB, free: 5.656 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.08335, allocations: 0 / 0.4884 GB, free: 5.656 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.878e-06/0.08336, allocations: 0 / 0.4884 GB, free: 5.656 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.404e-05/0.08345, allocations: 12 kB / 0.4884 GB, free: 5.645 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.08346, allocations: 0 / 0.4884 GB, free: 5.645 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.082e-05/0.08352, allocations: 11.98 kB / 0.4885 GB, free: 5.633 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.08354, allocations: 4.031 kB / 0.4885 GB, free: 5.629 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.104e-05/0.08362, allocations: 118.3 kB / 0.4886 GB, free: 5.504 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.082e-05/0.08364, allocations: 0 / 0.4886 GB, free: 5.504 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002486/0.0839, allocations: 100.6 kB / 0.4887 GB, free: 5.398 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.08391, allocations: 4 kB / 0.4887 GB, free: 5.395 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.08392, allocations: 0 / 0.4887 GB, free: 5.395 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.08393, allocations: 0 / 0.4887 GB, free: 5.395 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.08408, allocations: 157.6 kB / 0.4888 GB, free: 5.191 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.08409, allocations: 0 / 0.4888 GB, free: 5.191 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.997e-05/0.08415, allocations: 11.98 kB / 0.4888 GB, free: 5.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.08416, allocations: 0 / 0.4888 GB, free: 5.18 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.08418, allocations: 4 kB / 0.4888 GB, free: 5.176 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.08418, allocations: 4.031 kB / 0.4888 GB, free: 5.172 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.08419, allocations: 4 kB / 0.4888 GB, free: 5.168 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002531/0.08446, allocations: 171.5 kB / 0.489 GB, free: 4.984 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.5e-05/0.08451, allocations: 77.11 kB / 0.4891 GB, free: 4.891 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.196e-05/0.08452, allocations: 0 / 0.4891 GB, free: 4.891 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.734e-05/0.08461, allocations: 11.98 kB / 0.4891 GB, free: 4.879 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.335e-05/0.08465, allocations: 4 kB / 0.4891 GB, free: 4.875 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/0.08467, allocations: 4 kB / 0.4891 GB, free: 4.871 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.236e-05/0.0847, allocations: 83.2 kB / 0.4892 GB, free: 4.789 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.432e-06/0.08471, allocations: 0 / 0.4892 GB, free: 4.789 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001927/0.08491, allocations: 11.94 kB / 0.4892 GB, free: 4.777 MB / 298.7 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 (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.0004981/0.08541, allocations: 0.7086 MB / 0.4899 GB, free: 4.039 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002049/0.08563, allocations: 47.95 kB / 0.4899 GB, free: 3.992 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.08564, allocations: 0 / 0.4899 GB, free: 3.992 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.698e-05/0.08573, allocations: 31.98 kB / 0.49 GB, free: 3.961 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000223/0.08596, allocations: 0 / 0.49 GB, free: 3.961 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003404/0.08631, allocations: 148.2 kB / 0.4901 GB, free: 3.773 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001925/0.08651, allocations: 0.677 MB / 0.4908 GB, free: 3.07 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.131e-05/0.08655, allocations: 8.062 kB / 0.4908 GB, free: 3.062 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.057e-05/0.08659, allocations: 7.438 kB / 0.4908 GB, free: 3.055 MB / 298.7 MB Notification: Performance of SimCode: time 2.6e-07/0.08659, allocations: 0 / 0.4908 GB, free: 3.055 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01041/0.097, allocations: 1.15 MB / 0.4919 GB, free: 2.066 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002348/0.0973, allocations: 224.5 kB / 0.4921 GB, free: 1.828 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.574/1.671, allocations: 0 / 0.4921 GB, free: 1.828 MB / 298.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_Valves_test_polynomial_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_Valves_test_polynomial.fmu > TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Valves.test_polynomial.pipe 2>&1)