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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 103.8 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 192.6 kB / 19.41 MB, free: 3.68 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.449/1.449, allocations: 207.6 MB / 229.8 MB, free: 11.43 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.07085/0.07085, allocations: 11.07 MB / 292.7 MB, free: 11.95 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.02226/0.02226, allocations: 4.309 MB / 351.1 MB, free: 1.359 MB / 286.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.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: "" <> 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"}) [Timeout 660] "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.002075/0.002075, allocations: 75.89 kB / 470.9 MB, free: 24.29 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.265/0.267, allocations: 52.4 MB / 0.511 GB, free: 7.973 MB / 334.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.FluidDynamics.Components.Valves.test_polynomial): time 0.002367/0.2694, allocations: 1.362 MB / 0.5123 GB, free: 7.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002913/0.2697, allocations: 94.41 kB / 0.5124 GB, free: 6.965 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.146e-05/0.2697, allocations: 0 / 0.5124 GB, free: 6.965 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.755e-05/0.2697, allocations: 9.656 kB / 0.5124 GB, free: 6.957 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.288e-05/0.2698, allocations: 7.922 kB / 0.5124 GB, free: 6.949 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000227/0.27, allocations: 14.41 kB / 0.5125 GB, free: 6.945 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.673e-05/0.2701, allocations: 28.2 kB / 0.5125 GB, free: 6.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.301e-05/0.2701, allocations: 2.219 kB / 0.5125 GB, free: 6.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.323e-05/0.2701, allocations: 6.641 kB / 0.5125 GB, free: 6.93 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.283e-05/0.2702, allocations: 14 kB / 0.5125 GB, free: 6.922 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.2702, allocations: 1.219 kB / 0.5125 GB, free: 6.922 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.091e-05/0.2702, allocations: 20.83 kB / 0.5125 GB, free: 6.914 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.155e-05/0.2703, allocations: 1.031 kB / 0.5125 GB, free: 6.914 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.212e-05/0.2703, allocations: 14.09 kB / 0.5125 GB, free: 6.902 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001238/0.2704, allocations: 25.45 kB / 0.5126 GB, free: 6.895 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2704, allocations: 0.75 kB / 0.5126 GB, free: 6.895 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2704, allocations: 0 / 0.5126 GB, free: 6.895 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.2704, allocations: 5.312 kB / 0.5126 GB, free: 6.891 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.0003751/0.2708, allocations: 340.6 kB / 0.5129 GB, free: 6.531 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.2708, allocations: 8.938 kB / 0.5129 GB, free: 6.531 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.367e-05/0.2709, allocations: 36.12 kB / 0.5129 GB, free: 6.488 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.314e-05/0.2709, allocations: 3.391 kB / 0.5129 GB, free: 6.488 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.651e-05/0.271, allocations: 170.6 kB / 0.5131 GB, free: 6.285 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.271, allocations: 5.469 kB / 0.5131 GB, free: 6.281 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.398e-06/0.271, allocations: 1.812 kB / 0.5131 GB, free: 6.281 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001677/0.2712, allocations: 48.92 kB / 0.5132 GB, free: 6.246 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.2712, allocations: 8.969 kB / 0.5132 GB, free: 6.238 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-06/0.2712, allocations: 0 / 0.5132 GB, free: 6.238 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.2712, allocations: 1.156 kB / 0.5132 GB, free: 6.238 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001578/0.2713, allocations: 37.16 kB / 0.5132 GB, free: 6.23 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003784/0.2717, allocations: 256.8 kB / 0.5134 GB, free: 5.957 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001161/0.2718, allocations: 44.66 kB / 0.5135 GB, free: 5.922 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.913e-05/0.2719, allocations: 18.97 kB / 0.5135 GB, free: 5.914 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.297e-05/0.2719, allocations: 6.438 kB / 0.5135 GB, free: 5.91 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.859e-05/0.272, allocations: 36.19 kB / 0.5135 GB, free: 5.867 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.272, allocations: 0 / 0.5135 GB, free: 5.867 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003177/0.2723, allocations: 82.08 kB / 0.5136 GB, free: 5.828 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.534e-05/0.2723, allocations: 56.53 kB / 0.5137 GB, free: 5.762 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.288e-05/0.2724, allocations: 104.2 kB / 0.5138 GB, free: 5.656 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.645e-06/0.2724, allocations: 25.7 kB / 0.5138 GB, free: 5.625 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.2e-05/0.2724, allocations: 85.14 kB / 0.5139 GB, free: 5.539 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.742e-05/0.2724, allocations: 8.125 kB / 0.5139 GB, free: 5.535 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.767e-05/0.2724, allocations: 16.28 kB / 0.5139 GB, free: 5.516 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 4.163e-05/0.2725, allocations: 312.2 kB / 0.5142 GB, free: 5.203 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.309e-05/0.2725, allocations: 16.38 kB / 0.5142 GB, free: 5.203 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.34e-05/0.2726, allocations: 20.38 kB / 0.5142 GB, free: 5.195 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000134/0.2727, allocations: 35.52 kB / 0.5143 GB, free: 5.184 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.2727, allocations: 5.578 kB / 0.5143 GB, free: 5.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001734/0.2729, allocations: 66.45 kB / 0.5143 GB, free: 5.141 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.2729, allocations: 14.05 kB / 0.5144 GB, free: 5.137 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.586e-06/0.2729, allocations: 96 / 0.5144 GB, free: 5.137 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.273, allocations: 5.156 kB / 0.5144 GB, free: 5.133 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.137e-05/0.273, allocations: 12.77 kB / 0.5144 GB, free: 5.129 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.273, allocations: 1.062 kB / 0.5144 GB, free: 5.129 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.443e-05/0.2731, allocations: 5.766 kB / 0.5144 GB, free: 5.129 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.2731, allocations: 1.906 kB / 0.5144 GB, free: 5.129 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.649e-05/0.2731, allocations: 116.7 kB / 0.5145 GB, free: 5.008 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.31e-05/0.2732, allocations: 0.9688 kB / 0.5145 GB, free: 5.008 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000207/0.2734, allocations: 80.97 kB / 0.5146 GB, free: 4.957 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.2734, allocations: 3.984 kB / 0.5146 GB, free: 4.953 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.2734, allocations: 2.219 kB / 0.5146 GB, free: 4.953 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.2734, allocations: 0 / 0.5146 GB, free: 4.953 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001063/0.2735, allocations: 159.8 kB / 0.5147 GB, free: 4.758 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.2735, allocations: 0 / 0.5147 GB, free: 4.758 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.264e-05/0.2735, allocations: 12.45 kB / 0.5147 GB, free: 4.754 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.2735, allocations: 5.312 kB / 0.5147 GB, free: 4.75 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.2735, allocations: 0.9844 kB / 0.5147 GB, free: 4.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2735, allocations: 1.062 kB / 0.5147 GB, free: 4.75 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2735, allocations: 3.938 kB / 0.5147 GB, free: 4.746 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001787/0.2737, allocations: 163.8 kB / 0.5149 GB, free: 4.605 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.439e-05/0.2737, allocations: 82.34 kB / 0.515 GB, free: 4.508 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.233e-05/0.2738, allocations: 5.281 kB / 0.515 GB, free: 4.504 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.978e-05/0.2738, allocations: 6.25 kB / 0.515 GB, free: 4.504 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.834e-05/0.2739, allocations: 4.125 kB / 0.515 GB, free: 4.504 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.369e-06/0.2739, allocations: 1.156 kB / 0.515 GB, free: 4.504 MB / 334.1 MB Notification: Performance of sorting global known variables: time 1.953e-05/0.2739, allocations: 82.91 kB / 0.5151 GB, free: 4.426 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2739, allocations: 0 / 0.5151 GB, free: 4.426 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002288/0.2741, allocations: 5.75 kB / 0.5151 GB, free: 4.426 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.0003516/0.2745, allocations: 0.7003 MB / 0.5158 GB, free: 3.75 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002035/0.2747, allocations: 35.75 kB / 0.5158 GB, free: 3.746 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2747, allocations: 0 / 0.5158 GB, free: 3.746 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.418e-05/0.2747, allocations: 24.45 kB / 0.5158 GB, free: 3.738 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002809/0.275, allocations: 11.27 kB / 0.5158 GB, free: 3.73 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003685/0.2754, allocations: 130.1 kB / 0.516 GB, free: 3.59 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.108e-05/0.2755, allocations: 0.6759 MB / 0.5166 GB, free: 2.895 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.737e-05/0.2755, allocations: 1.781 kB / 0.5166 GB, free: 2.895 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.086e-05/0.2755, allocations: 18.39 kB / 0.5166 GB, free: 2.879 MB / 334.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2755, allocations: 0 / 0.5166 GB, free: 2.879 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0242/0.2997, allocations: 1.409 MB / 0.518 GB, free: 2.469 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.188/8.488, allocations: 1.094 kB / 0.518 GB, free: 2.469 MB / 334.1 MB " [Timeout remaining time 651] (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: 11.084532490000129] Failed to read output from testmodel.py, exit status != 0: 8.555507104843855 8.57250231 8.298968425 Calling exit ...