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.009044/0.009043, allocations: 99.84 kB / 15.73 MB, free: 6.066 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.374/1.374, allocations: 222.9 MB / 239.4 MB, free: 4.516 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.001398/0.001398, allocations: 184.5 kB / 289.7 MB, free: 2.242 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5099/0.5099, allocations: 91.9 MB / 431.8 MB, free: 9.168 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 79.03 kB / 0.5723 GB, free: 33.69 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1211, allocations: 71.29 MB / 0.6419 GB, free: 4.066 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order6test2): time 0.005931/0.1271, allocations: 5.964 MB / 0.6477 GB, free: 14.07 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00335/0.1304, allocations: 1.794 MB / 0.6494 GB, free: 12.27 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005021/0.131, allocations: 19.88 kB / 0.6495 GB, free: 12.25 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004963/0.1315, allocations: 198.3 kB / 0.6497 GB, free: 12.05 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001611/0.1331, allocations: 0.7563 MB / 0.6504 GB, free: 11.3 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001154/0.1343, allocations: 0.5801 MB / 0.651 GB, free: 10.72 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00125/0.1355, allocations: 1.339 MB / 0.6523 GB, free: 9.379 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003944/0.1359, allocations: 283.4 kB / 0.6525 GB, free: 9.09 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005711/0.1365, allocations: 0.5563 MB / 0.6531 GB, free: 8.531 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00067/0.1372, allocations: 0.6962 MB / 0.6538 GB, free: 7.832 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001329/0.1374, allocations: 96 kB / 0.6538 GB, free: 7.738 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003952/0.1378, allocations: 239.9 kB / 0.6541 GB, free: 7.504 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002054/0.138, allocations: 262.8 kB / 0.6543 GB, free: 7.246 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004442/0.1384, allocations: 0.5709 MB / 0.6549 GB, free: 6.672 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001329/0.1398, allocations: 1.439 MB / 0.6563 GB, free: 5.227 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1398, allocations: 0 / 0.6563 GB, free: 5.227 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1398, allocations: 0 / 0.6563 GB, free: 5.227 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.622e-05/0.1398, allocations: 0 / 0.6563 GB, free: 5.227 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.00778/0.1476, allocations: 2.472 MB / 0.6587 GB, free: 2.699 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.1476, allocations: 12.03 kB / 0.6587 GB, free: 2.688 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001458/0.1478, allocations: 114.5 kB / 0.6588 GB, free: 2.566 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004922/0.1527, allocations: 0.7719 MB / 0.6596 GB, free: 1.793 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001166/0.1539, allocations: 0.7603 MB / 0.6603 GB, free: 0.9922 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002707/0.1542, allocations: 248.2 kB / 0.6606 GB, free: 0.7109 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001481/0.1544, allocations: 76 kB / 0.6606 GB, free: 0.6367 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002001/0.1564, allocations: 0.9794 MB / 0.6616 GB, free: 15.64 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.1564, allocations: 0 / 0.6616 GB, free: 15.64 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-05/0.1565, allocations: 24 kB / 0.6616 GB, free: 15.62 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.423e-05/0.1565, allocations: 16 kB / 0.6616 GB, free: 15.61 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002068/0.1586, allocations: 1.003 MB / 0.6626 GB, free: 14.61 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.005203/0.1638, allocations: 3.27 MB / 0.6658 GB, free: 11.18 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002053/0.1659, allocations: 1.348 MB / 0.6671 GB, free: 9.711 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001412/0.1673, allocations: 0.7305 MB / 0.6678 GB, free: 8.977 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.778e-05/0.1674, allocations: 12.98 kB / 0.6678 GB, free: 8.965 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.1674, allocations: 47.55 kB / 0.6679 GB, free: 8.91 MB / 478.1 MB Notification: Performance of pre-optimization done (n=85): time 2.144e-06/0.1674, allocations: 0 / 0.6679 GB, free: 8.91 MB / 478.1 MB Notification: Performance of matching and sorting (n=85): time 0.02616/0.1936, allocations: 6.559 MB / 0.6743 GB, free: 2.316 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/0.1937, allocations: 64.34 kB / 0.6744 GB, free: 2.242 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001143/0.1948, allocations: 0.8507 MB / 0.6752 GB, free: 1.367 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001447/0.195, allocations: 45.7 kB / 0.6752 GB, free: 1.316 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003044/0.1953, allocations: 449 kB / 0.6757 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002984/0.1956, allocations: 321.3 kB / 0.676 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003862/0.196, allocations: 202.8 kB / 0.6762 GB, free: 356 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.1961, allocations: 341.9 kB / 0.6765 GB, free: 8 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001516/0.1976, allocations: 0.6976 MB / 0.6772 GB, free: 15.31 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001587/0.1992, allocations: 0.8189 MB / 0.678 GB, free: 14.46 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003046/0.2023, allocations: 1.49 MB / 0.6794 GB, free: 12.94 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.2023, allocations: 0 / 0.6794 GB, free: 12.94 MB / 494.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01428/0.2166, allocations: 4.277 MB / 0.6836 GB, free: 8.648 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.876e-05/0.2167, allocations: 8 kB / 0.6836 GB, free: 8.641 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/0.2167, allocations: 8 kB / 0.6836 GB, free: 8.633 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007099/0.2238, allocations: 1.846 MB / 0.6854 GB, free: 6.781 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001036/0.2248, allocations: 183.7 kB / 0.6856 GB, free: 6.602 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02229/0.2472, allocations: 9.47 MB / 0.6948 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001537/0.2487, allocations: 163.2 kB / 0.695 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001065/0.2488, allocations: 43.98 kB / 0.695 GB, free: 12.78 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.0004193/0.2493, allocations: 218.2 kB / 0.6952 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002066/0.2495, allocations: 111.2 kB / 0.6953 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01291/0.2624, allocations: 3.888 MB / 0.6991 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-05/0.2624, allocations: 8 kB / 0.6992 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.2625, allocations: 0 / 0.6992 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.614e-05/0.2625, allocations: 7.922 kB / 0.6992 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01469/0.2772, allocations: 5.431 MB / 0.7045 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/0.2772, allocations: 0 / 0.7045 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006184/0.2778, allocations: 95.83 kB / 0.7046 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006012/0.2839, allocations: 1.745 MB / 0.7063 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001122/0.284, allocations: 15.98 kB / 0.7063 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01899/0.303, allocations: 8.069 MB / 0.7142 GB, free: 8.879 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.3031, allocations: 0 / 0.7142 GB, free: 8.879 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01509/0.3181, allocations: 4.772 MB / 0.7188 GB, free: 4.09 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004343/0.3186, allocations: 208.1 kB / 0.719 GB, free: 3.867 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003244/0.319, allocations: 16 kB / 0.719 GB, free: 3.852 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001191/0.3202, allocations: 91.83 kB / 0.7191 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006972/0.3209, allocations: 204.7 kB / 0.7193 GB, free: 3.559 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001095/0.321, allocations: 20 kB / 0.7193 GB, free: 3.539 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009099/0.3219, allocations: 0.5702 MB / 0.7199 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.41e-07/0.3219, allocations: 0 / 0.7199 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001564/0.3235, allocations: 427.7 kB / 0.7203 GB, free: 2.539 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.01578/0.3393, allocations: 5.353 MB / 0.7255 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007488/0.3468, allocations: 2.414 MB / 0.7279 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.3469, allocations: 0 / 0.7279 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004849/0.3517, allocations: 1.532 MB / 0.7294 GB, free: 9.18 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001047/0.3528, allocations: 88.39 kB / 0.7295 GB, free: 9.094 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04042/0.3932, allocations: 14.95 MB / 0.7441 GB, free: 9.957 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000698/0.394, allocations: 1.052 MB / 0.7451 GB, free: 8.879 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004564/0.3945, allocations: 78.45 kB / 0.7452 GB, free: 8.797 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000638/0.3951, allocations: 391.3 kB / 0.7455 GB, free: 8.414 MB / 0.545 GB Notification: Performance of SimCode: time 5.61e-07/0.3951, allocations: 0 / 0.7455 GB, free: 8.414 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.363/0.7582, allocations: 32.54 MB / 0.7773 GB, free: 120.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.03/15.78, allocations: 3.406 kB / 0.7773 GB, free: 120.8 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)