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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 109.5 kB / 19.73 MB, free: 2.238 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 220 kB / 23.04 MB, free: 5.078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.341/1.341, allocations: 207.6 MB / 233.8 MB, free: 9.988 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06861/0.06861, allocations: 11.05 MB / 297.1 MB, free: 10.73 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.02208/0.02208, allocations: 4.313 MB / 355.9 MB, free: 15.74 MB / 302.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(TAeZoSysPro_testsuite.FluidDynamics.Components.Valves.test_polynomial,fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_Valves_test_polynomial",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0022/0.0022, allocations: 71.91 kB / 477.4 MB, free: 21.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2473, allocations: 52.44 MB / 0.5175 GB, free: 8.191 MB / 334.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.FluidDynamics.Components.Valves.test_polynomial): time 0.002242/0.2496, allocations: 1.355 MB / 0.5188 GB, free: 7.258 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003424/0.2499, allocations: 111.2 kB / 0.5189 GB, free: 7.191 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.562e-05/0.2499, allocations: 0 / 0.5189 GB, free: 7.191 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.416e-05/0.25, allocations: 4.641 kB / 0.5189 GB, free: 7.188 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.628e-05/0.25, allocations: 9.312 kB / 0.5189 GB, free: 7.18 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002762/0.2503, allocations: 14.8 kB / 0.5189 GB, free: 7.176 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.314e-05/0.2503, allocations: 27.06 kB / 0.5189 GB, free: 7.16 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.474e-05/0.2504, allocations: 4.016 kB / 0.519 GB, free: 7.16 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.628e-05/0.2504, allocations: 7.969 kB / 0.519 GB, free: 7.156 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.676e-05/0.2504, allocations: 14.83 kB / 0.519 GB, free: 7.148 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.302e-05/0.2505, allocations: 1.375 kB / 0.519 GB, free: 7.148 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.718e-05/0.2505, allocations: 22.62 kB / 0.519 GB, free: 7.141 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.082e-05/0.2506, allocations: 2.547 kB / 0.519 GB, free: 7.141 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.562e-05/0.2506, allocations: 15.34 kB / 0.519 GB, free: 7.129 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001117/0.2507, allocations: 26.02 kB / 0.519 GB, free: 7.121 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.2507, allocations: 0 / 0.519 GB, free: 7.121 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2507, allocations: 0 / 0.519 GB, free: 7.121 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.2507, allocations: 3.938 kB / 0.519 GB, free: 7.117 MB / 334.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.0003612/0.2511, allocations: 264.5 kB / 0.5193 GB, free: 6.852 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.2511, allocations: 9.625 kB / 0.5193 GB, free: 6.852 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.363e-05/0.2511, allocations: 2.125 kB / 0.5193 GB, free: 6.852 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.722e-05/0.2511, allocations: 35.5 kB / 0.5193 GB, free: 6.809 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.345e-05/0.2512, allocations: 2.312 kB / 0.5193 GB, free: 6.809 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.072e-05/0.2512, allocations: 117.9 kB / 0.5195 GB, free: 6.672 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.362e-06/0.2512, allocations: 0.9844 kB / 0.5195 GB, free: 6.672 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.196e-05/0.2513, allocations: 1.75 kB / 0.5195 GB, free: 6.672 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/0.2514, allocations: 58.2 kB / 0.5195 GB, free: 6.629 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.2514, allocations: 0 / 0.5195 GB, free: 6.629 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-06/0.2514, allocations: 0 / 0.5195 GB, free: 6.629 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.2514, allocations: 1.375 kB / 0.5195 GB, free: 6.629 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001578/0.2516, allocations: 36.52 kB / 0.5195 GB, free: 6.621 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003058/0.2519, allocations: 228.6 kB / 0.5198 GB, free: 6.383 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/0.252, allocations: 40.66 kB / 0.5198 GB, free: 6.352 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.041e-05/0.2521, allocations: 23.17 kB / 0.5198 GB, free: 6.34 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.129e-05/0.2521, allocations: 6.109 kB / 0.5198 GB, free: 6.336 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.176e-05/0.2521, allocations: 31.94 kB / 0.5199 GB, free: 6.297 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.2521, allocations: 0 / 0.5199 GB, free: 6.297 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003315/0.2525, allocations: 85.06 kB / 0.5199 GB, free: 6.254 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.926e-05/0.2525, allocations: 52.2 kB / 0.52 GB, free: 6.191 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.103e-05/0.2525, allocations: 105.6 kB / 0.5201 GB, free: 6.086 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.494e-06/0.2525, allocations: 25.7 kB / 0.5201 GB, free: 6.055 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.29e-05/0.2526, allocations: 90.05 kB / 0.5202 GB, free: 5.965 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.514e-05/0.2526, allocations: 6.125 kB / 0.5202 GB, free: 5.961 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-05/0.2526, allocations: 17.22 kB / 0.5202 GB, free: 5.941 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 3.792e-05/0.2527, allocations: 311.5 kB / 0.5205 GB, free: 5.629 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.995e-05/0.2527, allocations: 18.67 kB / 0.5205 GB, free: 5.625 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.041e-05/0.2528, allocations: 21.55 kB / 0.5206 GB, free: 5.617 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/0.2529, allocations: 41.47 kB / 0.5206 GB, free: 5.602 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.2529, allocations: 1.156 kB / 0.5206 GB, free: 5.602 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001774/0.2531, allocations: 71.92 kB / 0.5207 GB, free: 5.559 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.2531, allocations: 4.312 kB / 0.5207 GB, free: 5.559 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.2531, allocations: 4.75 kB / 0.5207 GB, free: 5.555 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.2532, allocations: 4.594 kB / 0.5207 GB, free: 5.551 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.144e-05/0.2532, allocations: 9.688 kB / 0.5207 GB, free: 5.551 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.2532, allocations: 0 / 0.5207 GB, free: 5.551 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.318e-05/0.2533, allocations: 6.609 kB / 0.5207 GB, free: 5.551 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.2533, allocations: 1.312 kB / 0.5207 GB, free: 5.551 MB / 334.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 4.627e-05/0.2533, allocations: 117.5 kB / 0.5208 GB, free: 5.43 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.359e-05/0.2534, allocations: 1.812 kB / 0.5208 GB, free: 5.43 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002202/0.2536, allocations: 81.33 kB / 0.5209 GB, free: 5.383 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.2536, allocations: 0.5156 kB / 0.5209 GB, free: 5.383 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.2536, allocations: 1.406 kB / 0.5209 GB, free: 5.383 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.2536, allocations: 4.734 kB / 0.5209 GB, free: 5.379 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001005/0.2537, allocations: 129.5 kB / 0.521 GB, free: 5.219 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.2537, allocations: 1.281 kB / 0.521 GB, free: 5.219 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.547e-05/0.2537, allocations: 12.62 kB / 0.521 GB, free: 5.215 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.2537, allocations: 1.062 kB / 0.521 GB, free: 5.215 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.393e-06/0.2538, allocations: 1.031 kB / 0.521 GB, free: 5.215 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.2538, allocations: 0 / 0.521 GB, free: 5.215 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2538, allocations: 0.8438 kB / 0.521 GB, free: 5.215 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000192/0.254, allocations: 163.1 kB / 0.5212 GB, free: 5.074 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.564e-06/0.254, allocations: 10.38 kB / 0.5212 GB, free: 5.066 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.198e-05/0.254, allocations: 0.7969 kB / 0.5212 GB, free: 5.066 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.862e-05/0.254, allocations: 6.312 kB / 0.5212 GB, free: 5.066 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.569e-05/0.2541, allocations: 2.719 kB / 0.5212 GB, free: 5.066 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.2541, allocations: 2.062 kB / 0.5212 GB, free: 5.066 MB / 334.1 MB Notification: Performance of sorting global known variables: time 2.133e-05/0.2541, allocations: 87.48 kB / 0.5213 GB, free: 4.984 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2541, allocations: 0 / 0.5213 GB, free: 4.984 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002143/0.2543, allocations: 6.438 kB / 0.5213 GB, free: 4.984 MB / 334.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.0003437/0.2547, allocations: 0.7003 MB / 0.522 GB, free: 4.309 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002071/0.2549, allocations: 35.36 kB / 0.522 GB, free: 4.305 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2549, allocations: 8.031 kB / 0.522 GB, free: 4.297 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.088e-05/0.255, allocations: 20.83 kB / 0.5221 GB, free: 4.293 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002464/0.2552, allocations: 10.59 kB / 0.5221 GB, free: 4.285 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003532/0.2556, allocations: 135.1 kB / 0.5222 GB, free: 4.137 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.904e-05/0.2556, allocations: 0.6762 MB / 0.5229 GB, free: 3.441 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.481e-05/0.2557, allocations: 10.06 kB / 0.5229 GB, free: 3.434 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.314e-05/0.2557, allocations: 10.44 kB / 0.5229 GB, free: 3.426 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.2557, allocations: 0 / 0.5229 GB, free: 3.426 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01967/0.2754, allocations: 1.54 MB / 0.5244 GB, free: 2.516 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/10.98, allocations: 10.75 kB / 0.5244 GB, free: 2.508 MB / 334.1 MB " [Timeout remaining time 649] (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/bin/OMSimulator --tempDir=temp_TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_Valves_test_polynomial_fmu --startTime=0 --stopTime=1 --stepSize=0.002 --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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.53031419008039] Failed to read output from testmodel.py, exit status != 0: 11.138902581995353 11.164794555 10.910202395 Calling exit ...