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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001533/0.001533, allocations: 176.2 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.589/1.589, allocations: 205.3 MB / 213.4 MB, free: 13.76 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008327/0.0008328, allocations: 85.59 kB / 261.4 MB, free: 13.44 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06124/0.06124, allocations: 10.89 MB / 320.2 MB, free: 2.441 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.0165/0.0165, allocations: 4.161 MB / 374.5 MB, free: 79.23 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.354e-05/1.347e-05, allocations: 0 / 432.4 MB, free: 21.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08771/0.08774, allocations: 50.76 MB / 483.1 MB, free: 2.605 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2909/0.3787, allocations: 78.13 MB / 0.5481 GB, free: 9.145 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000235/0.379, allocations: 70.59 kB / 0.5481 GB, free: 9.078 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002008/0.381, allocations: 0.7536 MB / 0.5489 GB, free: 8.34 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.381, allocations: 0 / 0.5489 GB, free: 8.34 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.381, allocations: 0 / 0.5489 GB, free: 8.34 MB / 346.7 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.0003128/0.3813, allocations: 339.7 kB / 0.5492 GB, free: 7.973 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.3814, allocations: 11.97 kB / 0.5492 GB, free: 7.961 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.138e-05/0.3814, allocations: 6.234 kB / 0.5492 GB, free: 7.957 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.3816, allocations: 167 kB / 0.5494 GB, free: 7.754 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.3816, allocations: 0 / 0.5494 GB, free: 7.754 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.08e-05/0.3816, allocations: 0 / 0.5494 GB, free: 7.754 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.647e-05/0.3817, allocations: 18.34 kB / 0.5494 GB, free: 7.742 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.493e-05/0.3817, allocations: 40.31 kB / 0.5494 GB, free: 7.699 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.3817, allocations: 0 / 0.5494 GB, free: 7.699 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.836e-06/0.3818, allocations: 0 / 0.5494 GB, free: 7.699 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.3818, allocations: 0 / 0.5494 GB, free: 7.699 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000358/0.3821, allocations: 239.4 kB / 0.5497 GB, free: 7.43 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.097e-05/0.3822, allocations: 31.02 kB / 0.5497 GB, free: 7.391 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.405e-05/0.3822, allocations: 17.27 kB / 0.5497 GB, free: 7.375 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.217e-05/0.3823, allocations: 0 / 0.5497 GB, free: 7.375 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.3823, allocations: 33.19 kB / 0.5497 GB, free: 7.336 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.3823, allocations: 0 / 0.5497 GB, free: 7.336 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001605/0.3825, allocations: 42.47 kB / 0.5498 GB, free: 7.289 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.881e-05/0.3825, allocations: 55.41 kB / 0.5498 GB, free: 7.223 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.723e-05/0.3826, allocations: 89 kB / 0.5499 GB, free: 7.129 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.3826, allocations: 28.2 kB / 0.55 GB, free: 7.098 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.205e-05/0.3826, allocations: 91.97 kB / 0.55 GB, free: 7.004 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.324e-05/0.3826, allocations: 4 kB / 0.55 GB, free: 7 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-06/0.3827, allocations: 0 / 0.55 GB, free: 7 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.87e-05/0.3828, allocations: 315.9 kB / 0.5503 GB, free: 6.684 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.262e-05/0.3828, allocations: 0 / 0.5503 GB, free: 6.684 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.352e-05/0.3828, allocations: 10.06 kB / 0.5504 GB, free: 6.676 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.812e-05/0.3828, allocations: 7.953 kB / 0.5504 GB, free: 6.668 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3829, allocations: 0 / 0.5504 GB, free: 6.668 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.29e-05/0.3829, allocations: 49.59 kB / 0.5504 GB, free: 6.613 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.383, allocations: 6.719 kB / 0.5504 GB, free: 6.609 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.383, allocations: 0 / 0.5504 GB, free: 6.609 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.383, allocations: 1.875 kB / 0.5504 GB, free: 6.609 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.235e-05/0.3831, allocations: 11.98 kB / 0.5504 GB, free: 6.598 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.3831, allocations: 2.625 kB / 0.5504 GB, free: 6.598 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.077e-05/0.3832, allocations: 8.531 kB / 0.5504 GB, free: 6.59 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.3832, allocations: 3.125 kB / 0.5504 GB, free: 6.59 MB / 346.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.395e-05/0.3832, allocations: 113.9 kB / 0.5506 GB, free: 6.473 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.62e-05/0.3833, allocations: 41.64 kB / 0.5506 GB, free: 6.426 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.288e-05/0.3834, allocations: 6.375 kB / 0.5506 GB, free: 6.422 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000115/0.3835, allocations: 53.89 kB / 0.5506 GB, free: 6.363 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.3835, allocations: 0 / 0.5506 GB, free: 6.363 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.3835, allocations: 0 / 0.5506 GB, free: 6.363 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3835, allocations: 7.984 kB / 0.5507 GB, free: 6.355 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001284/0.3836, allocations: 138.2 kB / 0.5508 GB, free: 6.184 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3837, allocations: 0 / 0.5508 GB, free: 6.184 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.338e-05/0.3837, allocations: 8 kB / 0.5508 GB, free: 6.176 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.3837, allocations: 3.984 kB / 0.5508 GB, free: 6.172 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.3837, allocations: 3.938 kB / 0.5508 GB, free: 6.168 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.3838, allocations: 2.875 kB / 0.5508 GB, free: 6.168 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.3838, allocations: 0 / 0.5508 GB, free: 6.168 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001251/0.3839, allocations: 139.4 kB / 0.5509 GB, free: 6.016 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.173e-05/0.384, allocations: 83.39 kB / 0.551 GB, free: 5.918 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.437e-05/0.384, allocations: 4 kB / 0.551 GB, free: 5.914 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.189e-05/0.3841, allocations: 5.125 kB / 0.551 GB, free: 5.91 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.644e-05/0.3841, allocations: 4.516 kB / 0.551 GB, free: 5.906 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.169e-06/0.3841, allocations: 4.219 kB / 0.551 GB, free: 5.902 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.984e-05/0.3842, allocations: 90 kB / 0.5511 GB, free: 5.816 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3842, allocations: 3.938 kB / 0.5511 GB, free: 5.812 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002142/0.3844, allocations: 4 kB / 0.5511 GB, free: 5.809 MB / 346.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003514/0.3848, allocations: 0.6733 MB / 0.5518 GB, free: 5.109 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.519e-05/0.3848, allocations: 20.03 kB / 0.5518 GB, free: 5.09 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.3848, allocations: 0 / 0.5518 GB, free: 5.09 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.76e-05/0.3849, allocations: 4 kB / 0.5518 GB, free: 5.086 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00016/0.385, allocations: 3.984 kB / 0.5518 GB, free: 5.082 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002996/0.3853, allocations: 91.38 kB / 0.5519 GB, free: 4.961 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000205/0.3856, allocations: 0.6768 MB / 0.5526 GB, free: 4.258 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.593e-05/0.3856, allocations: 10.31 kB / 0.5526 GB, free: 4.25 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.819e-05/0.3856, allocations: 15.38 kB / 0.5526 GB, free: 4.234 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3857, allocations: 0 / 0.5526 GB, free: 4.234 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01905/0.4047, allocations: 0.8076 MB / 0.5534 GB, free: 3.465 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003463/0.4051, allocations: 174.2 kB / 0.5535 GB, free: 3.27 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.338/1.743, allocations: 0 / 0.5535 GB, free: 3.27 MB / 346.7 MB (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/linux/bin/OMSimulator --tempDir=temp_TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_Valves_test_polynomial_fmu --startTime=0 --stopTime=1 --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)