Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Functions.test_rootsPolyOrder3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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.Functions.test_rootsPolyOrder3,fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Functions_test_rootsPolyOrder3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(TAeZoSysPro_testsuite.FluidDynamics.Functions.test_rootsPolyOrder3,fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Functions_test_rootsPolyOrder3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006099/0.006099, allocations: 98.98 kB / 15.73 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001601/0.001601, allocations: 189.9 kB / 16.67 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.572/1.572, allocations: 205.1 MB / 222.6 MB, free: 4.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.07219/0.07219, allocations: 10.98 MB / 280.9 MB, free: 10.11 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.01814/0.01814, allocations: 4.241 MB / 334.6 MB, free: 29.02 MB / 254.1 MB 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.001503/0.001503, allocations: 66.05 kB / 447.1 MB, free: 44.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09741/0.09893, allocations: 49.74 MB / 496.8 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.FluidDynamics.Functions.test_rootsPolyOrder3): time 0.001784/0.1007, allocations: 0.508 MB / 497.3 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002517/0.1033, allocations: 1.249 MB / 498.6 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.28e-05/0.1033, allocations: 4 kB / 498.6 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.094e-05/0.1034, allocations: 3.938 kB / 498.6 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.82e-05/0.1035, allocations: 7.938 kB / 498.6 MB, free: 12.17 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000502/0.104, allocations: 83.8 kB / 498.7 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.981e-05/0.1041, allocations: 19.86 kB / 498.7 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.235e-05/0.1042, allocations: 0 / 498.7 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.308e-05/0.1042, allocations: 4 kB / 498.7 MB, free: 12.06 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.504e-05/0.1042, allocations: 15.94 kB / 498.7 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.1043, allocations: 0 / 498.7 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000348/0.1046, allocations: 123.8 kB / 498.8 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.137e-05/0.1047, allocations: 15.92 kB / 498.8 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.421e-05/0.1047, allocations: 3.938 kB / 498.8 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001726/0.1049, allocations: 72.03 kB / 498.9 MB, free: 11.84 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.1049, allocations: 0 / 498.9 MB, free: 11.84 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1049, allocations: 3.938 kB / 498.9 MB, free: 11.83 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.102e-05/0.1049, allocations: 0 / 498.9 MB, free: 11.83 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004219/0.1053, allocations: 359.2 kB / 499.3 MB, free: 11.43 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.1054, allocations: 8.031 kB / 499.3 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.915e-05/0.1054, allocations: 30.75 kB / 499.3 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.691e-05/0.1055, allocations: 4.938 kB / 499.3 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.1056, allocations: 168.3 kB / 499.5 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.1056, allocations: 384 / 499.5 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.317e-05/0.1057, allocations: 4.375 kB / 499.5 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.1058, allocations: 55.53 kB / 499.5 MB, free: 11.11 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.1058, allocations: 11.94 kB / 499.5 MB, free: 11.1 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.1058, allocations: 3.938 kB / 499.5 MB, free: 11.09 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.521e-05/0.1059, allocations: 7.969 kB / 499.6 MB, free: 11.09 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.809e-05/0.1059, allocations: 12 kB / 499.6 MB, free: 11.07 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002127/0.1061, allocations: 170.5 kB / 499.7 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001242/0.1063, allocations: 69.16 kB / 499.8 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.496e-05/0.1063, allocations: 29.83 kB / 499.8 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.516e-06/0.1063, allocations: 0 / 499.8 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.1064, allocations: 38.5 kB / 499.9 MB, free: 10.69 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.002e-06/0.1064, allocations: 0 / 499.9 MB, free: 10.69 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.000193/0.1066, allocations: 77.56 kB / 499.9 MB, free: 10.61 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/0.1066, allocations: 85.11 kB / 0.4883 GB, free: 10.5 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.244e-05/0.1067, allocations: 105.8 kB / 0.4884 GB, free: 10.39 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.1067, allocations: 33.75 kB / 0.4884 GB, free: 10.35 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.426e-05/0.1068, allocations: 80.14 kB / 0.4885 GB, free: 10.27 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.622e-05/0.1069, allocations: 23.8 kB / 0.4885 GB, free: 10.25 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.782e-05/0.1069, allocations: 17.7 kB / 0.4886 GB, free: 10.22 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.1071, allocations: 310.8 kB / 0.4889 GB, free: 9.91 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.64e-05/0.1071, allocations: 15.98 kB / 0.4889 GB, free: 9.895 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.216e-05/0.1072, allocations: 25.66 kB / 0.4889 GB, free: 9.863 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.176e-05/0.1073, allocations: 41.73 kB / 0.4889 GB, free: 9.816 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.1073, allocations: 0 / 0.4889 GB, free: 9.816 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001157/0.1074, allocations: 69.55 kB / 0.489 GB, free: 9.742 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.1075, allocations: 8 kB / 0.489 GB, free: 9.734 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.1075, allocations: 0 / 0.489 GB, free: 9.734 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.1075, allocations: 0 / 0.489 GB, free: 9.734 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.603e-06/0.1075, allocations: 0 / 0.489 GB, free: 9.734 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.1075, allocations: 4 kB / 0.489 GB, free: 9.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.805e-05/0.1075, allocations: 3.953 kB / 0.489 GB, free: 9.727 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.1075, allocations: 0 / 0.489 GB, free: 9.727 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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): 0 * Array equations: 2 * 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 8.373e-05/0.1076, allocations: 117.9 kB / 0.4891 GB, free: 9.602 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.162e-05/0.1077, allocations: 3.938 kB / 0.4891 GB, free: 9.598 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.189e-05/0.1077, allocations: 11.91 kB / 0.4891 GB, free: 9.57 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.314e-05/0.1077, allocations: 4 kB / 0.4891 GB, free: 9.566 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.1077, allocations: 288 / 0.4891 GB, free: 9.566 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1077, allocations: 3.938 kB / 0.4891 GB, free: 9.562 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001487/0.1079, allocations: 161.7 kB / 0.4893 GB, free: 9.355 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.1079, allocations: 8 kB / 0.4893 GB, free: 9.348 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.376e-06/0.1079, allocations: 7.922 kB / 0.4893 GB, free: 9.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1079, allocations: 4 kB / 0.4893 GB, free: 9.336 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.1079, allocations: 0 / 0.4893 GB, free: 9.336 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.1079, allocations: 3.938 kB / 0.4893 GB, free: 9.332 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.1079, allocations: 4 kB / 0.4893 GB, free: 9.328 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001443/0.1081, allocations: 89.94 kB / 0.4894 GB, free: 9.219 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.038e-05/0.1082, allocations: 96.92 kB / 0.4895 GB, free: 9.105 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.1082, allocations: 0 / 0.4895 GB, free: 9.105 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.15e-05/0.1082, allocations: 7.969 kB / 0.4895 GB, free: 9.098 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.237e-05/0.1082, allocations: 0 / 0.4895 GB, free: 9.098 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-06/0.1082, allocations: 4 kB / 0.4895 GB, free: 9.094 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.561e-05/0.1083, allocations: 83.28 kB / 0.4896 GB, free: 9.012 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1083, allocations: 0 / 0.4896 GB, free: 9.012 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002191/0.1085, allocations: 19.98 kB / 0.4896 GB, free: 8.992 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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): 0 * Array equations: 2 * 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.0004823/0.109, allocations: 0.6483 MB / 0.4903 GB, free: 8.312 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001049/0.1091, allocations: 35.92 kB / 0.4903 GB, free: 8.277 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1091, allocations: 0 / 0.4903 GB, free: 8.277 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.45e-05/0.1092, allocations: 19.98 kB / 0.4903 GB, free: 8.258 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001491/0.1093, allocations: 6.125 kB / 0.4903 GB, free: 8.254 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003814/0.1097, allocations: 171.8 kB / 0.4905 GB, free: 8.043 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002608/0.11, allocations: 0.6846 MB / 0.4911 GB, free: 7.332 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.136e-05/0.11, allocations: 7.906 kB / 0.4912 GB, free: 7.324 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.848e-05/0.11, allocations: 11.44 kB / 0.4912 GB, free: 7.312 MB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.11, allocations: 0 / 0.4912 GB, free: 7.312 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02186/0.1319, allocations: 1.895 MB / 0.493 GB, free: 5.488 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.671/7.803, allocations: 15.22 kB / 0.493 GB, free: 5.477 MB / 334.1 MB (rm -f TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Functions.test_rootsPolyOrder3.pipe ; mkfifo TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Functions.test_rootsPolyOrder3.pipe ; head -c 1048576 < TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Functions.test_rootsPolyOrder3.pipe >> ../files/TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Functions.test_rootsPolyOrder3.sim & python3 -m fmpy simulate --output-file TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Functions.test_rootsPolyOrder3_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Functions_test_rootsPolyOrder3.fmu > TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Functions.test_rootsPolyOrder3.pipe 2>&1)