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.001523/0.001523, allocations: 174.6 kB / 12.73 MB, free: 2.59 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.588/1.588, allocations: 205.2 MB / 218.5 MB, free: 9.219 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.001048/0.001047, allocations: 96.78 kB / 266.6 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.07015/0.07015, allocations: 10.86 MB / 325.5 MB, free: 14.16 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.01604/0.01604, allocations: 4.155 MB / 379.9 MB, free: 75.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.368e-05/4.37e-05, allocations: 4 kB / 439.6 MB, free: 15.49 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3648/0.3649, allocations: 50.74 MB / 490.4 MB, free: 52.18 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1171/0.4821, allocations: 78.8 MB / 0.5558 GB, free: 3.066 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002409/0.4824, allocations: 71.95 kB / 0.5559 GB, free: 2.996 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002046/0.4844, allocations: 0.7602 MB / 0.5566 GB, free: 2.258 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4845, allocations: 6.625 kB / 0.5566 GB, free: 2.254 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.4845, allocations: 0 / 0.5566 GB, free: 2.254 MB / 346.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.0003642/0.4848, allocations: 335.1 kB / 0.557 GB, free: 1.895 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/0.4849, allocations: 8.531 kB / 0.557 GB, free: 1.887 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.589e-05/0.485, allocations: 42.19 kB / 0.557 GB, free: 1.84 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.249e-05/0.485, allocations: 1.203 kB / 0.557 GB, free: 1.84 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.4851, allocations: 171 kB / 0.5572 GB, free: 1.633 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.4851, allocations: 4 kB / 0.5572 GB, free: 1.629 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.057e-06/0.4852, allocations: 0.6562 kB / 0.5572 GB, free: 1.629 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.4853, allocations: 38.72 kB / 0.5572 GB, free: 1.586 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.4853, allocations: 0 / 0.5572 GB, free: 1.586 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.4853, allocations: 0 / 0.5572 GB, free: 1.586 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.4853, allocations: 4 kB / 0.5572 GB, free: 1.582 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.966e-05/0.4854, allocations: 12.89 kB / 0.5572 GB, free: 1.57 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004597/0.4859, allocations: 262.3 kB / 0.5575 GB, free: 1.266 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.526e-05/0.4859, allocations: 29.73 kB / 0.5575 GB, free: 1.23 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.214e-05/0.486, allocations: 12.92 kB / 0.5575 GB, free: 1.215 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.279e-05/0.486, allocations: 0 / 0.5575 GB, free: 1.215 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.486, allocations: 36.61 kB / 0.5576 GB, free: 1.172 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.4861, allocations: 0 / 0.5576 GB, free: 1.172 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.000153/0.4862, allocations: 42.48 kB / 0.5576 GB, free: 1.125 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.517e-05/0.4863, allocations: 56.97 kB / 0.5576 GB, free: 1.062 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.93e-05/0.4863, allocations: 93 kB / 0.5577 GB, free: 0.9648 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.4864, allocations: 25.7 kB / 0.5578 GB, free: 0.9336 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.661e-05/0.4864, allocations: 91.97 kB / 0.5578 GB, free: 0.8398 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.462e-05/0.4864, allocations: 7.984 kB / 0.5579 GB, free: 0.832 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.619e-06/0.4864, allocations: 0 / 0.5579 GB, free: 0.832 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.4866, allocations: 322.7 kB / 0.5582 GB, free: 0.5078 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.867e-05/0.4866, allocations: 7.688 kB / 0.5582 GB, free: 0.5039 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.187e-05/0.4866, allocations: 4 kB / 0.5582 GB, free: 0.5 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.871e-05/0.4866, allocations: 4 kB / 0.5582 GB, free: 0.4961 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.4867, allocations: 0 / 0.5582 GB, free: 0.4961 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.02e-05/0.4867, allocations: 49.59 kB / 0.5582 GB, free: 452 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.4868, allocations: 4 kB / 0.5582 GB, free: 448 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.4868, allocations: 1.641 kB / 0.5582 GB, free: 448 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.4868, allocations: 4 kB / 0.5582 GB, free: 444 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.196e-05/0.4869, allocations: 13.42 kB / 0.5582 GB, free: 432 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.4869, allocations: 0 / 0.5582 GB, free: 432 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.862e-05/0.487, allocations: 5.906 kB / 0.5583 GB, free: 428 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.33e-05/0.487, allocations: 4 kB / 0.5583 GB, free: 424 kB / 346.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 () * 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.506e-05/0.4871, allocations: 105.8 kB / 0.5584 GB, free: 312 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.24e-05/0.4871, allocations: 8.734 kB / 0.5584 GB, free: 304 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001215/0.4872, allocations: 53.81 kB / 0.5584 GB, free: 244 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.4872, allocations: 0.6875 kB / 0.5584 GB, free: 244 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.4872, allocations: 0.625 kB / 0.5584 GB, free: 244 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.4872, allocations: 0 / 0.5584 GB, free: 244 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001529/0.4874, allocations: 158.3 kB / 0.5586 GB, free: 36 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.4874, allocations: 4 kB / 0.5586 GB, free: 32 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.011e-05/0.4875, allocations: 12.73 kB / 0.5586 GB, free: 20 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.4875, allocations: 2.719 kB / 0.5586 GB, free: 20 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.4875, allocations: 1.375 kB / 0.5586 GB, free: 20 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.4875, allocations: 0.8125 kB / 0.5586 GB, free: 20 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.4875, allocations: 0 / 0.5586 GB, free: 20 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001416/0.4877, allocations: 151.6 kB / 0.5587 GB, free: 15.86 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.494e-05/0.4877, allocations: 81.02 kB / 0.5588 GB, free: 15.76 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.4877, allocations: 4 kB / 0.5588 GB, free: 15.76 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.874e-05/0.4878, allocations: 7.984 kB / 0.5588 GB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.201e-05/0.4879, allocations: 1.594 kB / 0.5588 GB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.4879, allocations: 4 kB / 0.5588 GB, free: 15.75 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.026e-05/0.4879, allocations: 87.47 kB / 0.5589 GB, free: 15.66 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4879, allocations: 3.938 kB / 0.5589 GB, free: 15.66 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002044/0.4881, allocations: 4 kB / 0.5589 GB, free: 15.65 MB / 362.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 () * 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.0004319/0.4886, allocations: 0.6811 MB / 0.5596 GB, free: 14.95 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.097e-05/0.4887, allocations: 15.98 kB / 0.5596 GB, free: 14.93 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4887, allocations: 4.094 kB / 0.5596 GB, free: 14.93 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.122e-05/0.4887, allocations: 8 kB / 0.5596 GB, free: 14.92 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001592/0.4889, allocations: 5.125 kB / 0.5596 GB, free: 14.91 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003103/0.4892, allocations: 87.3 kB / 0.5597 GB, free: 14.8 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/0.4895, allocations: 0.677 MB / 0.5604 GB, free: 14.09 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.365e-05/0.4896, allocations: 5.812 kB / 0.5604 GB, free: 14.09 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.745e-05/0.4896, allocations: 11.44 kB / 0.5604 GB, free: 14.08 MB / 362.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4896, allocations: 3.938 kB / 0.5604 GB, free: 14.07 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01213/0.5017, allocations: 1.136 MB / 0.5615 GB, free: 13.14 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001816/0.502, allocations: 188.5 kB / 0.5617 GB, free: 12.91 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.667/2.169, allocations: 0 / 0.5617 GB, free: 12.91 MB / 362.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)