Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order6test2.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.Order6test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order6test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order6test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order6test2",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.006578/0.006584, allocations: 99.92 kB / 15.73 MB, free: 6.008 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.397/1.397, allocations: 222.9 MB / 239.4 MB, free: 4.52 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.001579/0.001579, allocations: 188.5 kB / 289.7 MB, free: 2.234 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5239/0.5239, allocations: 91.91 MB / 431.8 MB, free: 9.191 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00219/0.00219, allocations: 81.94 kB / 0.5723 GB, free: 33.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1262, allocations: 71.28 MB / 0.6419 GB, free: 4.109 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order6test2): time 0.007173/0.1334, allocations: 5.975 MB / 0.6477 GB, free: 14.11 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003886/0.1374, allocations: 1.79 MB / 0.6494 GB, free: 12.31 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007971/0.1382, allocations: 12 kB / 0.6495 GB, free: 12.3 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007323/0.1389, allocations: 210.2 kB / 0.6497 GB, free: 12.09 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002172/0.1411, allocations: 0.7018 MB / 0.6503 GB, free: 11.39 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001473/0.1426, allocations: 0.5798 MB / 0.6509 GB, free: 10.81 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001937/0.1446, allocations: 1.335 MB / 0.6522 GB, free: 9.473 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005328/0.1451, allocations: 291.4 kB / 0.6525 GB, free: 9.176 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009287/0.1461, allocations: 0.5524 MB / 0.653 GB, free: 8.621 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00101/0.1471, allocations: 0.6884 MB / 0.6537 GB, free: 7.93 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003084/0.1474, allocations: 100 kB / 0.6538 GB, free: 7.832 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006388/0.1481, allocations: 239.8 kB / 0.654 GB, free: 7.598 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003091/0.1484, allocations: 274.8 kB / 0.6543 GB, free: 7.328 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007503/0.1491, allocations: 0.5709 MB / 0.6548 GB, free: 6.754 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001956/0.1511, allocations: 1.431 MB / 0.6562 GB, free: 5.316 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1511, allocations: 0 / 0.6562 GB, free: 5.316 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1511, allocations: 0 / 0.6562 GB, free: 5.316 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.604e-05/0.1512, allocations: 0 / 0.6562 GB, free: 5.316 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.008536/0.1597, allocations: 2.48 MB / 0.6587 GB, free: 2.781 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.1598, allocations: 8.031 kB / 0.6587 GB, free: 2.773 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001913/0.16, allocations: 118.5 kB / 0.6588 GB, free: 2.648 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005044/0.165, allocations: 0.768 MB / 0.6595 GB, free: 1.879 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001684/0.1667, allocations: 0.7525 MB / 0.6603 GB, free: 1.086 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000371/0.1671, allocations: 252.2 kB / 0.6605 GB, free: 0.8008 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002469/0.1674, allocations: 75.94 kB / 0.6606 GB, free: 0.7266 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002348/0.1698, allocations: 0.9872 MB / 0.6615 GB, free: 15.73 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.1698, allocations: 0 / 0.6615 GB, free: 15.73 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001003/0.1699, allocations: 28 kB / 0.6616 GB, free: 15.7 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.075e-05/0.1699, allocations: 16 kB / 0.6616 GB, free: 15.68 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002364/0.1723, allocations: 0.9916 MB / 0.6626 GB, free: 14.7 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.006799/0.1791, allocations: 3.274 MB / 0.6658 GB, free: 11.27 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002286/0.1814, allocations: 1.348 MB / 0.6671 GB, free: 9.797 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001491/0.1829, allocations: 0.7227 MB / 0.6678 GB, free: 9.07 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.44e-05/0.183, allocations: 12.94 kB / 0.6678 GB, free: 9.059 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.597e-05/0.1831, allocations: 47.5 kB / 0.6678 GB, free: 9.004 MB / 478.1 MB Notification: Performance of pre-optimization done (n=85): time 4.829e-06/0.1831, allocations: 4 kB / 0.6678 GB, free: 9 MB / 478.1 MB Notification: Performance of matching and sorting (n=85): time 0.02656/0.2097, allocations: 6.567 MB / 0.6743 GB, free: 2.398 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.845e-05/0.2098, allocations: 64.34 kB / 0.6743 GB, free: 2.324 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001318/0.2111, allocations: 0.8469 MB / 0.6751 GB, free: 1.453 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001866/0.2113, allocations: 41.7 kB / 0.6752 GB, free: 1.406 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000399/0.2117, allocations: 449 kB / 0.6756 GB, free: 0.9609 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004345/0.2121, allocations: 321.2 kB / 0.6759 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004926/0.2126, allocations: 198.9 kB / 0.6761 GB, free: 452 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.2128, allocations: 353.9 kB / 0.6764 GB, free: 92 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001591/0.2144, allocations: 0.6897 MB / 0.6771 GB, free: 15.4 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00168/0.2161, allocations: 0.8189 MB / 0.6779 GB, free: 14.55 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003189/0.2193, allocations: 1.482 MB / 0.6794 GB, free: 13.04 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/0.2193, allocations: 4 kB / 0.6794 GB, free: 13.04 MB / 494.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01475/0.2341, allocations: 4.285 MB / 0.6836 GB, free: 8.734 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.93e-05/0.2341, allocations: 8 kB / 0.6836 GB, free: 8.727 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.2342, allocations: 0 / 0.6836 GB, free: 8.727 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00726/0.2414, allocations: 1.85 MB / 0.6854 GB, free: 6.871 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/0.2425, allocations: 183.8 kB / 0.6855 GB, free: 6.691 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02414/0.2667, allocations: 9.472 MB / 0.6948 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001647/0.2683, allocations: 171.2 kB / 0.695 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001953/0.2686, allocations: 36 kB / 0.695 GB, free: 12.86 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 (106): * Single equations (assignments): 105 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0005682/0.2691, allocations: 226.2 kB / 0.6952 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003199/0.2695, allocations: 119.2 kB / 0.6953 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01355/0.283, allocations: 3.88 MB / 0.6991 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.8e-05/0.2831, allocations: 8 kB / 0.6991 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-05/0.2831, allocations: 4 kB / 0.6991 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.079e-05/0.2831, allocations: 3.984 kB / 0.6991 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01591/0.2991, allocations: 5.427 MB / 0.7044 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.454e-05/0.2991, allocations: 0 / 0.7044 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006893/0.2998, allocations: 91.89 kB / 0.7045 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006184/0.306, allocations: 1.745 MB / 0.7062 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002074/0.3063, allocations: 20 kB / 0.7062 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02013/0.3264, allocations: 8.069 MB / 0.7141 GB, free: 8.965 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.3265, allocations: 0 / 0.7141 GB, free: 8.965 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01526/0.3417, allocations: 4.768 MB / 0.7188 GB, free: 4.18 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003944/0.3422, allocations: 208.1 kB / 0.719 GB, free: 3.957 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002533/0.3424, allocations: 16 kB / 0.719 GB, free: 3.941 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001108/0.3436, allocations: 91.89 kB / 0.7191 GB, free: 3.852 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006716/0.3442, allocations: 196.7 kB / 0.7193 GB, free: 3.656 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.73e-05/0.3443, allocations: 24 kB / 0.7193 GB, free: 3.633 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009172/0.3453, allocations: 0.5741 MB / 0.7198 GB, free: 3.047 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.71e-07/0.3453, allocations: 0 / 0.7198 GB, free: 3.047 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001436/0.3467, allocations: 431.7 kB / 0.7203 GB, free: 2.625 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (order6Type2_1.delta,order6Type2_1.w,order6Type2_1.e1q,order6Type2_1.e1d,order6Type2_1.e2q,order6Type2_1.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 (52): * Single equations (assignments): 51 * 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.01571/0.3624, allocations: 5.347 MB / 0.7255 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00728/0.3698, allocations: 2.418 MB / 0.7278 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.3698, allocations: 0 / 0.7278 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004921/0.3747, allocations: 1.539 MB / 0.7293 GB, free: 9.258 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009126/0.3757, allocations: 79.33 kB / 0.7294 GB, free: 9.18 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04179/0.4175, allocations: 14.95 MB / 0.744 GB, free: 10.04 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009984/0.4185, allocations: 1.041 MB / 0.745 GB, free: 8.977 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004547/0.419, allocations: 86.38 kB / 0.7451 GB, free: 8.887 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007078/0.4197, allocations: 395.3 kB / 0.7455 GB, free: 8.5 MB / 0.545 GB Notification: Performance of SimCode: time 1.533e-06/0.4197, allocations: 0 / 0.7455 GB, free: 8.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3657/0.7854, allocations: 32.54 MB / 0.7773 GB, free: 120.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.65/16.43, allocations: 5.562 kB / 0.7773 GB, free: 120.1 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order6test2.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order6test2_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_Order6test2.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe 2>&1)