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.004986/0.004986, allocations: 104.3 kB / 15.73 MB, free: 5.953 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.391/1.391, allocations: 222.9 MB / 239.4 MB, free: 4.508 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.001448/0.001448, allocations: 188.5 kB / 289.7 MB, free: 2.215 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5319/0.5319, allocations: 91.9 MB / 431.8 MB, free: 9.137 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002201/0.002201, allocations: 90.58 kB / 0.5723 GB, free: 33.65 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1269, allocations: 71.27 MB / 0.6419 GB, free: 4.062 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order5test2): time 0.007429/0.1344, allocations: 5.853 MB / 0.6476 GB, free: 14.18 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00391/0.1383, allocations: 1.767 MB / 0.6493 GB, free: 12.41 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006617/0.139, allocations: 8 kB / 0.6493 GB, free: 12.4 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005429/0.1396, allocations: 206.2 kB / 0.6495 GB, free: 12.2 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001733/0.1414, allocations: 0.6824 MB / 0.6502 GB, free: 11.52 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001333/0.1427, allocations: 0.5757 MB / 0.6507 GB, free: 10.95 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001615/0.1443, allocations: 1.284 MB / 0.652 GB, free: 9.656 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004612/0.1448, allocations: 287.3 kB / 0.6523 GB, free: 9.363 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007436/0.1456, allocations: 0.5368 MB / 0.6528 GB, free: 8.824 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007936/0.1464, allocations: 0.6611 MB / 0.6534 GB, free: 8.16 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001329/0.1465, allocations: 88 kB / 0.6535 GB, free: 8.074 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004782/0.147, allocations: 227.9 kB / 0.6537 GB, free: 7.852 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002426/0.1472, allocations: 250.9 kB / 0.654 GB, free: 7.605 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005233/0.1478, allocations: 0.5592 MB / 0.6545 GB, free: 7.043 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001672/0.1495, allocations: 1.377 MB / 0.6559 GB, free: 5.66 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1495, allocations: 0 / 0.6559 GB, free: 5.66 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1495, allocations: 4 kB / 0.6559 GB, free: 5.656 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.629e-05/0.1495, allocations: 4 kB / 0.6559 GB, free: 5.652 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.007779/0.1573, allocations: 2.414 MB / 0.6582 GB, free: 3.184 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/0.1574, allocations: 12.03 kB / 0.6582 GB, free: 3.172 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001675/0.1575, allocations: 110.5 kB / 0.6583 GB, free: 3.055 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004945/0.1625, allocations: 0.768 MB / 0.6591 GB, free: 2.285 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001321/0.1638, allocations: 0.733 MB / 0.6598 GB, free: 1.512 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003125/0.1641, allocations: 244.2 kB / 0.66 GB, free: 1.234 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001668/0.1643, allocations: 75.92 kB / 0.6601 GB, free: 1.16 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002077/0.1664, allocations: 0.9677 MB / 0.6611 GB, free: 188 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.1664, allocations: 4 kB / 0.6611 GB, free: 184 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.12e-05/0.1665, allocations: 28 kB / 0.6611 GB, free: 156 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.69e-05/0.1665, allocations: 16 kB / 0.6611 GB, free: 140 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002146/0.1687, allocations: 0.9837 MB / 0.6621 GB, free: 15.16 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.005939/0.1747, allocations: 3.21 MB / 0.6652 GB, free: 11.79 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002264/0.1769, allocations: 1.328 MB / 0.6665 GB, free: 10.34 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0015/0.1785, allocations: 0.7149 MB / 0.6672 GB, free: 9.621 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001017/0.1786, allocations: 16.92 kB / 0.6672 GB, free: 9.602 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.747e-05/0.1786, allocations: 51.5 kB / 0.6673 GB, free: 9.543 MB / 478.1 MB Notification: Performance of pre-optimization done (n=84): time 4.649e-06/0.1786, allocations: 3.984 kB / 0.6673 GB, free: 9.539 MB / 478.1 MB Notification: Performance of matching and sorting (n=84): time 0.02475/0.2034, allocations: 6.376 MB / 0.6735 GB, free: 3.133 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.783e-05/0.2035, allocations: 72.28 kB / 0.6736 GB, free: 3.047 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001182/0.2047, allocations: 0.8065 MB / 0.6744 GB, free: 2.215 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001787/0.2049, allocations: 41.7 kB / 0.6744 GB, free: 2.168 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003792/0.2053, allocations: 437.1 kB / 0.6748 GB, free: 1.734 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003744/0.2056, allocations: 313.3 kB / 0.6751 GB, free: 1.426 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003958/0.206, allocations: 190.9 kB / 0.6753 GB, free: 1.23 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002118/0.2063, allocations: 349.9 kB / 0.6756 GB, free: 0.8828 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001526/0.2078, allocations: 0.678 MB / 0.6763 GB, free: 212 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00164/0.2094, allocations: 0.7956 MB / 0.6771 GB, free: 15.38 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003073/0.2125, allocations: 1.455 MB / 0.6785 GB, free: 13.89 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.217e-06/0.2126, allocations: 7.984 kB / 0.6785 GB, free: 13.88 MB / 494.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.0141/0.2267, allocations: 4.212 MB / 0.6826 GB, free: 9.656 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.149e-05/0.2267, allocations: 8 kB / 0.6826 GB, free: 9.648 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.2268, allocations: 0 / 0.6826 GB, free: 9.648 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007068/0.2338, allocations: 1.865 MB / 0.6844 GB, free: 7.781 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009424/0.2348, allocations: 171.8 kB / 0.6846 GB, free: 7.613 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02316/0.258, allocations: 9.57 MB / 0.6939 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/0.2593, allocations: 155.3 kB / 0.6941 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.846e-05/0.2594, allocations: 39.98 kB / 0.6941 GB, free: 13.71 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.0004222/0.2599, allocations: 225.7 kB / 0.6943 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000198/0.2601, allocations: 111.2 kB / 0.6945 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0127/0.2728, allocations: 3.883 MB / 0.6982 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-05/0.2728, allocations: 8 kB / 0.6983 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.2728, allocations: 4 kB / 0.6983 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-05/0.2729, allocations: 3.984 kB / 0.6983 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01488/0.2877, allocations: 5.353 MB / 0.7035 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.667e-05/0.2878, allocations: 0 / 0.7035 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000647/0.2885, allocations: 103.8 kB / 0.7036 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006037/0.2945, allocations: 1.741 MB / 0.7053 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001792/0.2947, allocations: 16 kB / 0.7053 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01899/0.3137, allocations: 8.073 MB / 0.7132 GB, free: 9.879 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.3138, allocations: 0 / 0.7132 GB, free: 9.879 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01482/0.3286, allocations: 4.721 MB / 0.7178 GB, free: 5.133 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003578/0.329, allocations: 192.2 kB / 0.718 GB, free: 4.926 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001504/0.3292, allocations: 20 kB / 0.718 GB, free: 4.906 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009321/0.3301, allocations: 95.89 kB / 0.7181 GB, free: 4.812 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007391/0.3308, allocations: 196.7 kB / 0.7183 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.067e-05/0.3309, allocations: 23.98 kB / 0.7183 GB, free: 4.598 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008176/0.3317, allocations: 0.5383 MB / 0.7188 GB, free: 4.047 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3318, allocations: 4 kB / 0.7188 GB, free: 4.043 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001373/0.3331, allocations: 419.7 kB / 0.7192 GB, free: 3.633 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.01521/0.3483, allocations: 5.295 MB / 0.7244 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006885/0.3553, allocations: 2.394 MB / 0.7267 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.3553, allocations: 0 / 0.7267 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004731/0.36, allocations: 1.534 MB / 0.7282 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007341/0.3608, allocations: 78 kB / 0.7283 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03894/0.3998, allocations: 14.66 MB / 0.7426 GB, free: 11.42 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007197/0.4005, allocations: 1.033 MB / 0.7436 GB, free: 10.36 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003461/0.4009, allocations: 86.23 kB / 0.7437 GB, free: 10.28 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005332/0.4014, allocations: 379.3 kB / 0.7441 GB, free: 9.906 MB / 0.545 GB Notification: Performance of SimCode: time 5.91e-07/0.4014, allocations: 0 / 0.7441 GB, free: 9.906 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3345/0.7359, allocations: 32.06 MB / 0.7754 GB, free: 119.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.72/16.45, allocations: 9.188 kB / 0.7754 GB, free: 119.3 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)