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.001384/0.001384, allocations: 116.8 kB / 17.16 MB, free: 5.895 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.001404/0.001404, allocations: 212 kB / 20.13 MB, free: 2.949 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.411/1.411, allocations: 207.6 MB / 230.5 MB, free: 4.02 MB / 174.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.06832/0.06832, allocations: 11.08 MB / 293.5 MB, free: 5.18 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.0195/0.0195, allocations: 4.292 MB / 351.8 MB, free: 23.52 MB / 254.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.00208/0.00208, allocations: 77.47 kB / 471.6 MB, free: 40.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07378/0.07586, allocations: 52.4 MB / 0.5117 GB, free: 3.781 MB / 334.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.FluidDynamics.Components.Valves.test_polynomial): time 0.002508/0.07837, allocations: 1.362 MB / 0.5131 GB, free: 2.402 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003392/0.07871, allocations: 100.1 kB / 0.5132 GB, free: 2.305 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.179e-05/0.07873, allocations: 0 / 0.5132 GB, free: 2.305 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.498e-05/0.07875, allocations: 3.984 kB / 0.5132 GB, free: 2.301 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.554e-05/0.0788, allocations: 3.938 kB / 0.5132 GB, free: 2.297 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002694/0.07907, allocations: 19.97 kB / 0.5132 GB, free: 2.277 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.554e-05/0.07914, allocations: 31.86 kB / 0.5132 GB, free: 2.246 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.096e-05/0.07919, allocations: 4 kB / 0.5132 GB, free: 2.242 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.01e-05/0.07922, allocations: 4 kB / 0.5132 GB, free: 2.238 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.869e-05/0.07925, allocations: 15.92 kB / 0.5132 GB, free: 2.223 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.184e-05/0.07927, allocations: 0 / 0.5132 GB, free: 2.223 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.571e-05/0.07934, allocations: 15.98 kB / 0.5133 GB, free: 2.207 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.287e-05/0.07935, allocations: 7.984 kB / 0.5133 GB, free: 2.199 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.399e-05/0.07938, allocations: 7.938 kB / 0.5133 GB, free: 2.191 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001152/0.07949, allocations: 31.84 kB / 0.5133 GB, free: 2.16 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.0795, allocations: 4 kB / 0.5133 GB, free: 2.156 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.0795, allocations: 0 / 0.5133 GB, free: 2.156 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.07951, allocations: 0 / 0.5133 GB, free: 2.156 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.0004818/0.07999, allocations: 347.3 kB / 0.5136 GB, free: 1.766 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.08003, allocations: 12.03 kB / 0.5137 GB, free: 1.754 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.208e-05/0.08004, allocations: 192 / 0.5137 GB, free: 1.754 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.695e-05/0.08008, allocations: 38.69 kB / 0.5137 GB, free: 1.707 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.328e-05/0.08011, allocations: 4.938 kB / 0.5137 GB, free: 1.703 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/0.08025, allocations: 164.3 kB / 0.5139 GB, free: 1.504 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.051e-06/0.08026, allocations: 384 / 0.5139 GB, free: 1.504 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/0.08027, allocations: 384 / 0.5139 GB, free: 1.504 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/0.08045, allocations: 57.98 kB / 0.5139 GB, free: 1.441 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.08046, allocations: 0 / 0.5139 GB, free: 1.441 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.08048, allocations: 3.984 kB / 0.5139 GB, free: 1.438 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.08048, allocations: 4 kB / 0.5139 GB, free: 1.434 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001634/0.08065, allocations: 31.95 kB / 0.5139 GB, free: 1.402 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004085/0.08106, allocations: 264.8 kB / 0.5142 GB, free: 1.094 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001279/0.08118, allocations: 38.59 kB / 0.5142 GB, free: 1.047 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.535e-05/0.08127, allocations: 16.91 kB / 0.5143 GB, free: 1.027 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.476e-05/0.0813, allocations: 4 kB / 0.5143 GB, free: 1.023 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.08133, allocations: 34.56 kB / 0.5143 GB, free: 0.9805 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.08133, allocations: 0 / 0.5143 GB, free: 0.9805 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003579/0.08169, allocations: 85.58 kB / 0.5144 GB, free: 0.8906 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.08172, allocations: 51.41 kB / 0.5144 GB, free: 0.8281 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.871e-05/0.0818, allocations: 101.8 kB / 0.5145 GB, free: 0.7188 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.08182, allocations: 25.7 kB / 0.5145 GB, free: 0.6875 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.139e-05/0.08187, allocations: 84.14 kB / 0.5146 GB, free: 0.6016 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.939e-05/0.08189, allocations: 8.078 kB / 0.5146 GB, free: 0.5938 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.095e-05/0.08192, allocations: 17.72 kB / 0.5146 GB, free: 0.5703 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.08205, allocations: 314.8 kB / 0.5149 GB, free: 260 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.681e-05/0.08213, allocations: 15.98 kB / 0.515 GB, free: 244 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.134e-05/0.08221, allocations: 11.98 kB / 0.515 GB, free: 232 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001548/0.08236, allocations: 48.81 kB / 0.515 GB, free: 180 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.08236, allocations: 0 / 0.515 GB, free: 180 kB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001936/0.08256, allocations: 69.56 kB / 0.5151 GB, free: 104 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.08257, allocations: 4 kB / 0.5151 GB, free: 100 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.08257, allocations: 0 / 0.5151 GB, free: 100 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.08259, allocations: 4 kB / 0.5151 GB, free: 96 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.332e-05/0.08267, allocations: 11.92 kB / 0.5151 GB, free: 84 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.08267, allocations: 0 / 0.5151 GB, free: 84 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.089e-05/0.08273, allocations: 15.95 kB / 0.5151 GB, free: 68 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.08274, allocations: 4 kB / 0.5151 GB, free: 64 kB / 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 9.009e-05/0.08283, allocations: 117.8 kB / 0.5152 GB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.208e-05/0.08285, allocations: 0 / 0.5152 GB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002321/0.08308, allocations: 72.72 kB / 0.5153 GB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.08308, allocations: 8.016 kB / 0.5153 GB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.08309, allocations: 0 / 0.5153 GB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-06/0.08309, allocations: 0 / 0.5153 GB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001628/0.08325, allocations: 161.6 kB / 0.5155 GB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.08325, allocations: 0 / 0.5155 GB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.033e-05/0.08331, allocations: 11.98 kB / 0.5155 GB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.08332, allocations: 0 / 0.5155 GB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.08332, allocations: 0 / 0.5155 GB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.08332, allocations: 0 / 0.5155 GB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.08333, allocations: 4 kB / 0.5155 GB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002434/0.08357, allocations: 163.5 kB / 0.5156 GB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.722e-05/0.08362, allocations: 85.06 kB / 0.5157 GB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.086e-05/0.08363, allocations: 0 / 0.5157 GB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.393e-05/0.0837, allocations: 7.984 kB / 0.5157 GB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.654e-05/0.08374, allocations: 3.938 kB / 0.5157 GB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.08375, allocations: 8 kB / 0.5157 GB, free: 15.33 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.686e-05/0.08379, allocations: 83.3 kB / 0.5158 GB, free: 15.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.08379, allocations: 0 / 0.5158 GB, free: 15.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002184/0.08401, allocations: 11.94 kB / 0.5158 GB, free: 15.24 MB / 350.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.0005599/0.08457, allocations: 0.6946 MB / 0.5165 GB, free: 14.52 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002154/0.08479, allocations: 35.97 kB / 0.5165 GB, free: 14.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.08479, allocations: 3.938 kB / 0.5165 GB, free: 14.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.759e-05/0.08488, allocations: 23.97 kB / 0.5166 GB, free: 14.45 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000272/0.08515, allocations: 0 / 0.5166 GB, free: 14.45 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003968/0.08555, allocations: 135.9 kB / 0.5167 GB, free: 14.28 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00028/0.08583, allocations: 0.6768 MB / 0.5174 GB, free: 13.58 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.253e-05/0.08585, allocations: 336 / 0.5174 GB, free: 13.58 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.53e-05/0.08588, allocations: 15.38 kB / 0.5174 GB, free: 13.56 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.08588, allocations: 0 / 0.5174 GB, free: 13.56 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01483/0.1007, allocations: 1.451 MB / 0.5188 GB, free: 12.2 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.699/7.8, allocations: 0 / 0.5188 GB, free: 12.2 MB / 350.1 MB " [Timeout remaining time 652] (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: 10.387974886980373] Failed to read output from testmodel.py, exit status != 0: 7.918016827024985 7.93213051 7.849948907 Calling exit ...