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.001467/0.001467, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002487/0.002487, allocations: 214.7 kB / 22.25 MB, free: 5.125 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.515/1.515, allocations: 207.6 MB / 233 MB, free: 9.973 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.07457/0.07457, allocations: 11.05 MB / 296.3 MB, free: 10.71 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.02297/0.02297, allocations: 4.313 MB / 355.1 MB, free: 15.72 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="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.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.002253/0.002253, allocations: 72.5 kB / 476.7 MB, free: 21.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.3219, allocations: 52.44 MB / 0.5167 GB, free: 8.203 MB / 334.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.FluidDynamics.Components.Valves.test_polynomial): time 0.002509/0.3245, allocations: 1.374 MB / 0.518 GB, free: 7.25 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003238/0.3248, allocations: 103.5 kB / 0.5181 GB, free: 7.191 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.837e-05/0.3248, allocations: 5.156 kB / 0.5181 GB, free: 7.188 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.438e-05/0.3248, allocations: 0.7969 kB / 0.5181 GB, free: 7.188 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.288e-05/0.3249, allocations: 9 kB / 0.5181 GB, free: 7.18 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002817/0.3252, allocations: 17.91 kB / 0.5182 GB, free: 7.172 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.497e-05/0.3252, allocations: 23.86 kB / 0.5182 GB, free: 7.16 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.259e-05/0.3253, allocations: 3.359 kB / 0.5182 GB, free: 7.16 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.656e-05/0.3253, allocations: 9.078 kB / 0.5182 GB, free: 7.156 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.893e-05/0.3253, allocations: 13.83 kB / 0.5182 GB, free: 7.148 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.3254, allocations: 1.375 kB / 0.5182 GB, free: 7.148 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.341e-05/0.3255, allocations: 27.45 kB / 0.5182 GB, free: 7.137 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.089e-05/0.3255, allocations: 2.344 kB / 0.5182 GB, free: 7.137 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.315e-05/0.3255, allocations: 10.67 kB / 0.5182 GB, free: 7.129 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001198/0.3256, allocations: 29.53 kB / 0.5183 GB, free: 7.117 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.3256, allocations: 1.125 kB / 0.5183 GB, free: 7.117 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3256, allocations: 0 / 0.5183 GB, free: 7.117 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.3256, allocations: 0 / 0.5183 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.0003675/0.326, allocations: 268.3 kB / 0.5185 GB, free: 6.848 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.326, allocations: 9.328 kB / 0.5185 GB, free: 6.848 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.91e-05/0.3261, allocations: 32.72 kB / 0.5186 GB, free: 6.809 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.327e-05/0.3261, allocations: 2.219 kB / 0.5186 GB, free: 6.809 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.163e-05/0.3262, allocations: 114.2 kB / 0.5187 GB, free: 6.676 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.3262, allocations: 4.375 kB / 0.5187 GB, free: 6.672 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.636e-06/0.3262, allocations: 2.375 kB / 0.5187 GB, free: 6.672 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.3263, allocations: 49.41 kB / 0.5187 GB, free: 6.637 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.3263, allocations: 3.938 kB / 0.5187 GB, free: 6.633 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.3264, allocations: 5.344 kB / 0.5187 GB, free: 6.629 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.3264, allocations: 0.7031 kB / 0.5187 GB, free: 6.629 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000159/0.3265, allocations: 32.42 kB / 0.5188 GB, free: 6.625 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003325/0.3269, allocations: 233 kB / 0.519 GB, free: 6.383 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001178/0.327, allocations: 40.05 kB / 0.519 GB, free: 6.352 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.306e-05/0.3271, allocations: 19.45 kB / 0.5191 GB, free: 6.344 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.896e-05/0.3271, allocations: 2.125 kB / 0.5191 GB, free: 6.344 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.507e-05/0.3271, allocations: 40.38 kB / 0.5191 GB, free: 6.297 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.3271, allocations: 0 / 0.5191 GB, free: 6.297 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003296/0.3274, allocations: 80.77 kB / 0.5192 GB, free: 6.258 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.127e-05/0.3274, allocations: 51.41 kB / 0.5192 GB, free: 6.195 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.374e-05/0.3275, allocations: 100.8 kB / 0.5193 GB, free: 6.094 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.095e-06/0.3275, allocations: 27.62 kB / 0.5193 GB, free: 6.062 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.277e-05/0.3275, allocations: 89.45 kB / 0.5194 GB, free: 5.973 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.536e-05/0.3275, allocations: 6.141 kB / 0.5194 GB, free: 5.969 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.746e-05/0.3276, allocations: 16.77 kB / 0.5195 GB, free: 5.949 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 4.505e-05/0.3276, allocations: 317 kB / 0.5198 GB, free: 5.633 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.293e-05/0.3277, allocations: 13.97 kB / 0.5198 GB, free: 5.633 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.145e-05/0.3278, allocations: 25.27 kB / 0.5198 GB, free: 5.621 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.3279, allocations: 41.86 kB / 0.5198 GB, free: 5.605 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3279, allocations: 5.25 kB / 0.5198 GB, free: 5.602 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001809/0.3281, allocations: 67.36 kB / 0.5199 GB, free: 5.562 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.3281, allocations: 9.188 kB / 0.5199 GB, free: 5.559 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.3281, allocations: 0 / 0.5199 GB, free: 5.559 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.3281, allocations: 1.219 kB / 0.5199 GB, free: 5.559 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.783e-05/0.3282, allocations: 13.62 kB / 0.5199 GB, free: 5.555 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.3282, allocations: 0 / 0.5199 GB, free: 5.555 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.727e-05/0.3283, allocations: 6.219 kB / 0.5199 GB, free: 5.555 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.3283, allocations: 5.047 kB / 0.5199 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.686e-05/0.3283, allocations: 118.4 kB / 0.5201 GB, free: 5.43 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.369e-05/0.3284, allocations: 5.641 kB / 0.5201 GB, free: 5.426 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002261/0.3286, allocations: 76.62 kB / 0.5201 GB, free: 5.383 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.3286, allocations: 1.281 kB / 0.5201 GB, free: 5.383 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.3286, allocations: 0.5625 kB / 0.5201 GB, free: 5.383 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.3286, allocations: 0 / 0.5201 GB, free: 5.383 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001102/0.3287, allocations: 131.2 kB / 0.5203 GB, free: 5.223 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3287, allocations: 0 / 0.5203 GB, free: 5.223 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.785e-05/0.3288, allocations: 10.19 kB / 0.5203 GB, free: 5.223 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3288, allocations: 0 / 0.5203 GB, free: 5.223 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.3288, allocations: 1.906 kB / 0.5203 GB, free: 5.223 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.3288, allocations: 4.031 kB / 0.5203 GB, free: 5.219 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3288, allocations: 0 / 0.5203 GB, free: 5.219 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002306/0.329, allocations: 167 kB / 0.5204 GB, free: 5.074 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.427e-06/0.329, allocations: 6.719 kB / 0.5204 GB, free: 5.07 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.246e-05/0.329, allocations: 0.7969 kB / 0.5204 GB, free: 5.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.607e-05/0.3291, allocations: 11.05 kB / 0.5204 GB, free: 5.066 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.92e-05/0.3291, allocations: 2.641 kB / 0.5205 GB, free: 5.066 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.3292, allocations: 1.25 kB / 0.5205 GB, free: 5.066 MB / 334.1 MB Notification: Performance of sorting global known variables: time 2.463e-05/0.3292, allocations: 84.16 kB / 0.5205 GB, free: 4.988 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3292, allocations: 0 / 0.5205 GB, free: 4.988 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002286/0.3294, allocations: 6.594 kB / 0.5205 GB, free: 4.988 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.0003888/0.3298, allocations: 0.6996 MB / 0.5212 GB, free: 4.312 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002211/0.33, allocations: 35.97 kB / 0.5213 GB, free: 4.309 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.33, allocations: 0 / 0.5213 GB, free: 4.309 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.095e-05/0.3301, allocations: 16.22 kB / 0.5213 GB, free: 4.309 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002858/0.3304, allocations: 18.09 kB / 0.5213 GB, free: 4.293 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004162/0.3308, allocations: 138.3 kB / 0.5214 GB, free: 4.141 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001083/0.3309, allocations: 0.6752 MB / 0.5221 GB, free: 3.445 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.663e-05/0.3309, allocations: 6.766 kB / 0.5221 GB, free: 3.441 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.007e-05/0.331, allocations: 11.38 kB / 0.5221 GB, free: 3.434 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.331, allocations: 4 kB / 0.5221 GB, free: 3.43 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02784/0.3588, allocations: 1.498 MB / 0.5236 GB, free: 2.547 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.55, allocations: 8.078 kB / 0.5236 GB, free: 2.543 MB / 334.1 MB " [Timeout remaining time 648] (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: 14.33340830099769] Failed to read output from testmodel.py, exit status != 0: 11.652678760001436 11.679076708 11.348390588000001 Calling exit ...