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.001246/0.001246, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001524/0.001524, allocations: 219.8 kB / 23.03 MB, free: 4.945 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.336/1.336, allocations: 207.7 MB / 233.9 MB, free: 9.781 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.06855/0.06855, allocations: 11.07 MB / 297.2 MB, free: 10.52 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.0216/0.0216, allocations: 4.32 MB / 355.9 MB, free: 15.56 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.002006/0.002006, allocations: 70.56 kB / 477.4 MB, free: 21.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.2548, allocations: 52.43 MB / 0.5174 GB, free: 8.062 MB / 334.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.FluidDynamics.Components.Valves.test_polynomial): time 0.00223/0.2571, allocations: 1.364 MB / 0.5188 GB, free: 7.117 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003269/0.2574, allocations: 99.42 kB / 0.5189 GB, free: 7.062 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.529e-05/0.2574, allocations: 1 kB / 0.5189 GB, free: 7.062 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.511e-05/0.2574, allocations: 4.453 kB / 0.5189 GB, free: 7.059 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.108e-05/0.2575, allocations: 9.016 kB / 0.5189 GB, free: 7.051 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002622/0.2577, allocations: 14.98 kB / 0.5189 GB, free: 7.047 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.716e-05/0.2578, allocations: 27.94 kB / 0.5189 GB, free: 7.031 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.337e-05/0.2579, allocations: 2.562 kB / 0.5189 GB, free: 7.031 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.728e-05/0.2579, allocations: 4.438 kB / 0.5189 GB, free: 7.031 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.942e-05/0.2579, allocations: 18.41 kB / 0.5189 GB, free: 7.02 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.2579, allocations: 6.188 kB / 0.5189 GB, free: 7.016 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.7e-05/0.258, allocations: 18.62 kB / 0.519 GB, free: 7.012 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.362e-05/0.258, allocations: 2.469 kB / 0.519 GB, free: 7.012 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.505e-05/0.2581, allocations: 14.92 kB / 0.519 GB, free: 7 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001162/0.2582, allocations: 25.19 kB / 0.519 GB, free: 6.992 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2582, allocations: 1.859 kB / 0.519 GB, free: 6.992 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2582, allocations: 3.938 kB / 0.519 GB, free: 6.988 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.2582, allocations: 0 / 0.519 GB, free: 6.988 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.0003721/0.2586, allocations: 263.8 kB / 0.5193 GB, free: 6.727 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.2586, allocations: 10.81 kB / 0.5193 GB, free: 6.727 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.674e-05/0.2586, allocations: 4.188 kB / 0.5193 GB, free: 6.723 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.077e-05/0.2586, allocations: 36.72 kB / 0.5193 GB, free: 6.68 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.666e-05/0.2587, allocations: 2.188 kB / 0.5193 GB, free: 6.68 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.971e-05/0.2587, allocations: 118.4 kB / 0.5194 GB, free: 6.543 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.2587, allocations: 1.438 kB / 0.5194 GB, free: 6.543 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.2588, allocations: 1.469 kB / 0.5194 GB, free: 6.543 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.2589, allocations: 52.91 kB / 0.5195 GB, free: 6.504 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.2589, allocations: 0 / 0.5195 GB, free: 6.504 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.2589, allocations: 1.719 kB / 0.5195 GB, free: 6.504 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.2589, allocations: 0 / 0.5195 GB, free: 6.504 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001584/0.2591, allocations: 37.33 kB / 0.5195 GB, free: 6.496 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003195/0.2594, allocations: 230.9 kB / 0.5197 GB, free: 6.254 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.2595, allocations: 39.89 kB / 0.5198 GB, free: 6.223 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.661e-05/0.2596, allocations: 19.59 kB / 0.5198 GB, free: 6.215 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.429e-05/0.2596, allocations: 2.594 kB / 0.5198 GB, free: 6.215 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.805e-05/0.2597, allocations: 36.5 kB / 0.5198 GB, free: 6.172 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.2597, allocations: 4 kB / 0.5198 GB, free: 6.168 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003408/0.26, allocations: 81.42 kB / 0.5199 GB, free: 6.129 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.781e-05/0.26, allocations: 51.41 kB / 0.52 GB, free: 6.066 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.438e-05/0.2601, allocations: 105.5 kB / 0.5201 GB, free: 5.961 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.784e-06/0.2601, allocations: 26.22 kB / 0.5201 GB, free: 5.93 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.611e-05/0.2601, allocations: 82.06 kB / 0.5202 GB, free: 5.848 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.574e-05/0.2601, allocations: 6.078 kB / 0.5202 GB, free: 5.844 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-05/0.2602, allocations: 21.36 kB / 0.5202 GB, free: 5.82 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 4.535e-05/0.2602, allocations: 313.2 kB / 0.5205 GB, free: 5.508 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.8e-05/0.2603, allocations: 17.98 kB / 0.5205 GB, free: 5.504 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.88e-05/0.2604, allocations: 13.89 kB / 0.5205 GB, free: 5.504 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001524/0.2605, allocations: 41.94 kB / 0.5206 GB, free: 5.488 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.2605, allocations: 0 / 0.5206 GB, free: 5.488 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001774/0.2607, allocations: 76.3 kB / 0.5206 GB, free: 5.441 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.2607, allocations: 4.688 kB / 0.5206 GB, free: 5.441 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.2607, allocations: 0.8125 kB / 0.5206 GB, free: 5.441 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.2607, allocations: 0 / 0.5206 GB, free: 5.441 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.523e-05/0.2608, allocations: 9.75 kB / 0.5206 GB, free: 5.441 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.2608, allocations: 0.9844 kB / 0.5206 GB, free: 5.441 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.322e-05/0.2609, allocations: 6.484 kB / 0.5206 GB, free: 5.441 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.2609, allocations: 1.125 kB / 0.5206 GB, free: 5.441 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.979e-05/0.2609, allocations: 122.3 kB / 0.5208 GB, free: 5.316 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.268e-05/0.2609, allocations: 5.344 kB / 0.5208 GB, free: 5.312 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002227/0.2612, allocations: 77.73 kB / 0.5208 GB, free: 5.27 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.2612, allocations: 0 / 0.5208 GB, free: 5.27 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.2612, allocations: 0 / 0.5208 GB, free: 5.27 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.2612, allocations: 5.797 kB / 0.5208 GB, free: 5.266 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001045/0.2613, allocations: 128 kB / 0.521 GB, free: 5.105 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.2613, allocations: 8.031 kB / 0.521 GB, free: 5.098 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.394e-05/0.2613, allocations: 10 kB / 0.521 GB, free: 5.098 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.2613, allocations: 0 / 0.521 GB, free: 5.098 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.2613, allocations: 1.812 kB / 0.521 GB, free: 5.098 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2613, allocations: 0 / 0.521 GB, free: 5.098 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2613, allocations: 1.062 kB / 0.521 GB, free: 5.098 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001965/0.2615, allocations: 163.8 kB / 0.5211 GB, free: 4.957 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.145e-06/0.2615, allocations: 6.281 kB / 0.5212 GB, free: 4.953 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.2616, allocations: 5.625 kB / 0.5212 GB, free: 4.949 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.087e-05/0.2616, allocations: 6.422 kB / 0.5212 GB, free: 4.949 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.363e-05/0.2617, allocations: 2.703 kB / 0.5212 GB, free: 4.949 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.97e-06/0.2617, allocations: 1 kB / 0.5212 GB, free: 4.949 MB / 334.1 MB Notification: Performance of sorting global known variables: time 2.245e-05/0.2617, allocations: 83.52 kB / 0.5212 GB, free: 4.871 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2617, allocations: 0 / 0.5212 GB, free: 4.871 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002182/0.2619, allocations: 7.5 kB / 0.5213 GB, free: 4.871 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.0003628/0.2623, allocations: 0.7042 MB / 0.5219 GB, free: 4.191 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001986/0.2625, allocations: 36.17 kB / 0.522 GB, free: 4.188 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2625, allocations: 0 / 0.522 GB, free: 4.188 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.023e-05/0.2626, allocations: 20.75 kB / 0.522 GB, free: 4.184 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002465/0.2628, allocations: 5.609 kB / 0.522 GB, free: 4.18 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000381/0.2632, allocations: 144.5 kB / 0.5221 GB, free: 4.02 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.629e-05/0.2632, allocations: 60.3 kB / 0.5222 GB, free: 3.945 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.643e-05/0.2632, allocations: 2.562 kB / 0.5222 GB, free: 3.945 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.529e-05/0.2633, allocations: 12.55 kB / 0.5222 GB, free: 3.934 MB / 334.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2633, allocations: 0 / 0.5222 GB, free: 3.934 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01952/0.2828, allocations: 1.585 MB / 0.5238 GB, free: 2.969 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/10.97, allocations: 6.906 kB / 0.5238 GB, free: 2.965 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.515190191101283] Failed to read output from testmodel.py, exit status != 0: 11.13039013906382 11.146683897 10.884395617 Calling exit ...