Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL_Tests_Machines_PSAT_Order6test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order6test2,fileNamePrefix="OpenIPSL_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.007354/0.007355, allocations: 99.95 kB / 15.73 MB, free: 6.062 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.324/1.324, allocations: 222.9 MB / 239.4 MB, free: 4.523 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.234 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4406/0.4406, allocations: 78.54 MB / 418.4 MB, free: 3.109 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001555, allocations: 80.16 kB / 0.5531 GB, free: 1.406 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3123/0.3139, allocations: 68.17 MB / 0.6197 GB, free: 9.441 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order6test2): time 0.004603/0.3185, allocations: 5.95 MB / 0.6255 GB, free: 4.273 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002753/0.3213, allocations: 1.798 MB / 0.6273 GB, free: 2.473 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000468/0.3218, allocations: 11.94 kB / 0.6273 GB, free: 2.461 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00043/0.3222, allocations: 202.3 kB / 0.6275 GB, free: 2.262 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0014/0.3237, allocations: 0.7612 MB / 0.6282 GB, free: 1.5 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009681/0.3247, allocations: 0.5772 MB / 0.6288 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001079/0.3257, allocations: 1.343 MB / 0.6301 GB, free: 15.58 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003908/0.3261, allocations: 279.2 kB / 0.6304 GB, free: 15.29 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005993/0.3268, allocations: 0.5562 MB / 0.6309 GB, free: 14.73 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006699/0.3274, allocations: 0.6923 MB / 0.6316 GB, free: 14.04 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001417/0.3276, allocations: 96 kB / 0.6317 GB, free: 13.95 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004081/0.328, allocations: 243.8 kB / 0.6319 GB, free: 13.71 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000206/0.3282, allocations: 262.9 kB / 0.6322 GB, free: 13.45 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004548/0.3287, allocations: 0.5748 MB / 0.6327 GB, free: 12.87 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001512/0.3302, allocations: 1.436 MB / 0.6341 GB, free: 11.44 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.3302, allocations: 0 / 0.6341 GB, free: 11.44 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.582e-06/0.3302, allocations: 0 / 0.6341 GB, free: 11.44 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.665e-05/0.3302, allocations: 0 / 0.6341 GB, free: 11.44 MB / 446.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.008057/0.3383, allocations: 2.48 MB / 0.6365 GB, free: 8.902 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.3384, allocations: 8.031 kB / 0.6366 GB, free: 8.895 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001454/0.3385, allocations: 118.5 kB / 0.6367 GB, free: 8.77 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004934/0.3435, allocations: 0.7641 MB / 0.6374 GB, free: 8 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00137/0.3449, allocations: 0.7603 MB / 0.6382 GB, free: 7.195 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002845/0.3452, allocations: 252.2 kB / 0.6384 GB, free: 6.914 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001455/0.3453, allocations: 71.94 kB / 0.6385 GB, free: 6.844 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002041/0.3474, allocations: 0.9871 MB / 0.6394 GB, free: 5.852 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.3474, allocations: 0 / 0.6394 GB, free: 5.852 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.943e-05/0.3475, allocations: 28 kB / 0.6395 GB, free: 5.824 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.409e-05/0.3475, allocations: 23.94 kB / 0.6395 GB, free: 5.801 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002043/0.3496, allocations: 0.9916 MB / 0.6404 GB, free: 4.805 MB / 446.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.005188/0.3548, allocations: 3.262 MB / 0.6436 GB, free: 1.387 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002016/0.3568, allocations: 1.352 MB / 0.645 GB, free: 15.92 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001371/0.3582, allocations: 0.7227 MB / 0.6457 GB, free: 15.19 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.516e-05/0.3583, allocations: 12.98 kB / 0.6457 GB, free: 15.18 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.3583, allocations: 43.56 kB / 0.6457 GB, free: 15.12 MB / 462.1 MB Notification: Performance of pre-optimization done (n=85): time 2.725e-06/0.3583, allocations: 0 / 0.6457 GB, free: 15.12 MB / 462.1 MB Notification: Performance of matching and sorting (n=85): time 0.02489/0.3832, allocations: 6.567 MB / 0.6521 GB, free: 8.523 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.679e-05/0.3833, allocations: 64.34 kB / 0.6522 GB, free: 8.445 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00109/0.3844, allocations: 0.8546 MB / 0.653 GB, free: 7.566 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002043/0.3846, allocations: 37.7 kB / 0.6531 GB, free: 7.523 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002777/0.3849, allocations: 441.1 kB / 0.6535 GB, free: 7.086 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003449/0.3853, allocations: 329.2 kB / 0.6538 GB, free: 6.762 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003948/0.3857, allocations: 202.8 kB / 0.654 GB, free: 6.555 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.3858, allocations: 349.9 kB / 0.6543 GB, free: 6.207 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001484/0.3873, allocations: 0.6935 MB / 0.655 GB, free: 5.516 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001553/0.3889, allocations: 0.815 MB / 0.6558 GB, free: 4.668 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002954/0.3918, allocations: 1.494 MB / 0.6573 GB, free: 3.145 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.271e-06/0.3919, allocations: 0 / 0.6573 GB, free: 3.145 MB / 462.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01393/0.4058, allocations: 4.277 MB / 0.6614 GB, free: 14.85 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.913e-05/0.4059, allocations: 4 kB / 0.6614 GB, free: 14.85 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.4059, allocations: 4 kB / 0.6614 GB, free: 14.84 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006889/0.4128, allocations: 1.85 MB / 0.6632 GB, free: 12.99 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001012/0.4138, allocations: 183.7 kB / 0.6634 GB, free: 12.81 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02193/0.4358, allocations: 9.472 MB / 0.6727 GB, free: 3.195 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001628/0.4374, allocations: 163.2 kB / 0.6728 GB, free: 3.035 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001179/0.4376, allocations: 39.98 kB / 0.6729 GB, free: 2.996 MB / 478.1 MB 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.0004903/0.4381, allocations: 228.8 kB / 0.6731 GB, free: 2.766 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002439/0.4383, allocations: 115.2 kB / 0.6732 GB, free: 2.652 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01285/0.4512, allocations: 3.892 MB / 0.677 GB, free: 14.75 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.659e-05/0.4512, allocations: 8 kB / 0.677 GB, free: 14.74 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.4513, allocations: 0 / 0.677 GB, free: 14.74 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.149e-05/0.4513, allocations: 3.984 kB / 0.677 GB, free: 14.73 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01447/0.4658, allocations: 5.423 MB / 0.6823 GB, free: 9.172 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.425e-05/0.4658, allocations: 4 kB / 0.6823 GB, free: 9.168 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006563/0.4665, allocations: 95.83 kB / 0.6824 GB, free: 9.074 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005837/0.4723, allocations: 1.749 MB / 0.6841 GB, free: 7.32 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001543/0.4725, allocations: 15.98 kB / 0.6841 GB, free: 7.305 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0181/0.4906, allocations: 8.065 MB / 0.692 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.4906, allocations: 0 / 0.692 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01464/0.5053, allocations: 4.771 MB / 0.6967 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004152/0.5057, allocations: 204.2 kB / 0.6969 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001575/0.5059, allocations: 16 kB / 0.6969 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009816/0.5069, allocations: 95.89 kB / 0.697 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000588/0.5075, allocations: 192.7 kB / 0.6971 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.797e-05/0.5076, allocations: 27.98 kB / 0.6972 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007747/0.5084, allocations: 0.5702 MB / 0.6977 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.3e-07/0.5084, allocations: 0 / 0.6977 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001307/0.5097, allocations: 431.7 kB / 0.6981 GB, free: 8.75 MB / 0.4981 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.01481/0.5245, allocations: 5.353 MB / 0.7034 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006774/0.5313, allocations: 2.412 MB / 0.7057 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.5313, allocations: 0 / 0.7057 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004623/0.536, allocations: 1.539 MB / 0.7072 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007707/0.5368, allocations: 83.31 kB / 0.7073 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03717/0.574, allocations: 14.95 MB / 0.7219 GB, free: 156 kB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006401/0.5746, allocations: 1.045 MB / 0.7229 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000424/0.5751, allocations: 78.45 kB / 0.723 GB, free: 15 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005312/0.5756, allocations: 391.3 kB / 0.7234 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of SimCode: time 8.22e-07/0.5756, allocations: 4 kB / 0.7234 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06036/0.636, allocations: 32.53 MB / 0.7551 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.78/15.42, allocations: 3.984 kB / 0.7551 GB, free: 14.18 MB / 0.5606 GB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order6test2.sim & python3 -m fmpy simulate --output-file OpenIPSL_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_OpenIPSL_Tests_Machines_PSAT_Order6test2.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe 2>&1)