Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order5test2.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/Modelica 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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenIPSL.Tests.Machines.PSAT.Order5test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order5test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order5test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order5test2",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.004519/0.00452, allocations: 99.92 kB / 15.73 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 222.9 MB / 239.4 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 192.5 kB / 289.7 MB, free: 2.238 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4907/0.4907, allocations: 91.91 MB / 431.8 MB, free: 9.117 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 90.42 kB / 0.5723 GB, free: 33.62 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1134, allocations: 71.29 MB / 0.6419 GB, free: 4.055 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order5test2): time 0.00659/0.12, allocations: 5.847 MB / 0.6476 GB, free: 14.17 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003222/0.1233, allocations: 1.763 MB / 0.6493 GB, free: 12.41 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004858/0.1238, allocations: 11.94 kB / 0.6493 GB, free: 12.4 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004865/0.1243, allocations: 202.2 kB / 0.6495 GB, free: 12.2 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001611/0.1259, allocations: 0.7466 MB / 0.6502 GB, free: 11.45 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00119/0.1271, allocations: 0.5721 MB / 0.6508 GB, free: 10.89 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001254/0.1284, allocations: 1.28 MB / 0.652 GB, free: 9.602 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003774/0.1288, allocations: 275.3 kB / 0.6523 GB, free: 9.32 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005665/0.1293, allocations: 0.5407 MB / 0.6528 GB, free: 8.777 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006333/0.13, allocations: 0.6611 MB / 0.6535 GB, free: 8.113 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001261/0.1301, allocations: 88 kB / 0.6536 GB, free: 8.027 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003812/0.1305, allocations: 227.9 kB / 0.6538 GB, free: 7.805 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001964/0.1307, allocations: 250.9 kB / 0.654 GB, free: 7.559 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004119/0.1311, allocations: 0.5554 MB / 0.6546 GB, free: 7 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001261/0.1324, allocations: 1.389 MB / 0.6559 GB, free: 5.605 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1324, allocations: 0 / 0.6559 GB, free: 5.605 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.1324, allocations: 0 / 0.6559 GB, free: 5.605 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.474e-05/0.1325, allocations: 4 kB / 0.6559 GB, free: 5.602 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.007429/0.1399, allocations: 2.41 MB / 0.6583 GB, free: 3.137 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.1399, allocations: 12.03 kB / 0.6583 GB, free: 3.125 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001385/0.1401, allocations: 114.5 kB / 0.6584 GB, free: 3.004 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00496/0.145, allocations: 0.768 MB / 0.6591 GB, free: 2.234 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001057/0.1461, allocations: 0.729 MB / 0.6599 GB, free: 1.465 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002739/0.1464, allocations: 252.2 kB / 0.6601 GB, free: 1.18 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001447/0.1466, allocations: 64 kB / 0.6602 GB, free: 1.117 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001986/0.1486, allocations: 0.9755 MB / 0.6611 GB, free: 136 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.855e-05/0.1486, allocations: 3.984 kB / 0.6611 GB, free: 132 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.256e-05/0.1487, allocations: 24 kB / 0.6611 GB, free: 108 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/0.1487, allocations: 23.88 kB / 0.6612 GB, free: 84 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002101/0.1508, allocations: 0.9838 MB / 0.6621 GB, free: 15.1 MB / 478.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004991/0.1558, allocations: 3.202 MB / 0.6652 GB, free: 11.74 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002037/0.1579, allocations: 1.34 MB / 0.6666 GB, free: 10.28 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001417/0.1593, allocations: 0.7149 MB / 0.6673 GB, free: 9.562 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.746e-05/0.1594, allocations: 16.98 kB / 0.6673 GB, free: 9.543 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.1594, allocations: 43.55 kB / 0.6673 GB, free: 9.492 MB / 478.1 MB Notification: Performance of pre-optimization done (n=84): time 2.184e-06/0.1594, allocations: 0 / 0.6673 GB, free: 9.492 MB / 478.1 MB Notification: Performance of matching and sorting (n=84): time 0.02514/0.1846, allocations: 6.384 MB / 0.6735 GB, free: 3.078 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.448e-05/0.1847, allocations: 64.34 kB / 0.6736 GB, free: 3 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001063/0.1857, allocations: 0.8026 MB / 0.6744 GB, free: 2.172 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001819/0.1859, allocations: 41.7 kB / 0.6744 GB, free: 2.125 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003075/0.1862, allocations: 437.1 kB / 0.6748 GB, free: 1.691 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003138/0.1866, allocations: 317.3 kB / 0.6751 GB, free: 1.379 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003646/0.1869, allocations: 190.9 kB / 0.6753 GB, free: 1.184 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.1871, allocations: 353.9 kB / 0.6757 GB, free: 0.832 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001466/0.1885, allocations: 0.678 MB / 0.6763 GB, free: 160 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001569/0.1901, allocations: 0.8033 MB / 0.6771 GB, free: 15.32 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002958/0.1931, allocations: 1.459 MB / 0.6785 GB, free: 13.83 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.1931, allocations: 4 kB / 0.6785 GB, free: 13.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.0142/0.2073, allocations: 4.204 MB / 0.6826 GB, free: 9.605 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.024e-05/0.2074, allocations: 8.938 kB / 0.6827 GB, free: 9.598 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.2074, allocations: 0 / 0.6827 GB, free: 9.598 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007184/0.2146, allocations: 1.873 MB / 0.6845 GB, free: 7.723 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008997/0.2155, allocations: 171.8 kB / 0.6847 GB, free: 7.555 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02258/0.2381, allocations: 9.564 MB / 0.694 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001349/0.2395, allocations: 151.3 kB / 0.6941 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.166e-05/0.2396, allocations: 39.98 kB / 0.6942 GB, free: 13.66 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (101): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(24,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0003774/0.24, allocations: 221.7 kB / 0.6944 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001841/0.2402, allocations: 111.2 kB / 0.6945 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01317/0.2533, allocations: 3.887 MB / 0.6983 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.375e-05/0.2534, allocations: 8 kB / 0.6983 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.2534, allocations: 4 kB / 0.6983 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.49e-05/0.2534, allocations: 3.984 kB / 0.6983 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01492/0.2684, allocations: 5.361 MB / 0.7035 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.043e-05/0.2684, allocations: 3.938 kB / 0.7035 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000599/0.269, allocations: 95.88 kB / 0.7036 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006119/0.2751, allocations: 1.741 MB / 0.7053 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001302/0.2753, allocations: 16 kB / 0.7053 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01876/0.2941, allocations: 8.077 MB / 0.7132 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.2941, allocations: 3.984 kB / 0.7132 GB, free: 9.82 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01469/0.3088, allocations: 4.717 MB / 0.7178 GB, free: 5.078 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003128/0.3091, allocations: 196.2 kB / 0.718 GB, free: 4.867 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000146/0.3093, allocations: 12 kB / 0.718 GB, free: 4.855 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009706/0.3103, allocations: 91.89 kB / 0.7181 GB, free: 4.766 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005805/0.3109, allocations: 200.7 kB / 0.7183 GB, free: 4.57 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.326e-05/0.3109, allocations: 24 kB / 0.7183 GB, free: 4.547 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006407/0.3116, allocations: 0.5383 MB / 0.7189 GB, free: 3.996 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3116, allocations: 3.938 kB / 0.7189 GB, free: 3.992 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001116/0.3127, allocations: 423.7 kB / 0.7193 GB, free: 3.578 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (order5Type1_Inputs_Outputs.delta,order5Type1_Inputs_Outputs.w,order5Type1_Inputs_Outputs.e1q,order5Type1_Inputs_Outputs.e1d,order5Type1_Inputs_Outputs.e2d) * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01524/0.328, allocations: 5.294 MB / 0.7244 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007019/0.335, allocations: 2.395 MB / 0.7268 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/0.3351, allocations: 4.062 kB / 0.7268 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004675/0.3397, allocations: 1.53 MB / 0.7283 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007453/0.3405, allocations: 83.27 kB / 0.7284 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03706/0.3776, allocations: 14.66 MB / 0.7427 GB, free: 11.36 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000557/0.3782, allocations: 1.033 MB / 0.7437 GB, free: 10.3 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003357/0.3785, allocations: 82.3 kB / 0.7438 GB, free: 10.22 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004727/0.379, allocations: 379.3 kB / 0.7441 GB, free: 9.852 MB / 0.545 GB Notification: Performance of SimCode: time 7.21e-07/0.379, allocations: 0 / 0.7441 GB, free: 9.852 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3197/0.6987, allocations: 32.05 MB / 0.7754 GB, free: 119.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.06/15.76, allocations: 12.97 kB / 0.7754 GB, free: 119.4 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order5test2.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order5test2_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order5test2.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe 2>&1)