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.001101/0.001101, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 222.9 MB / 239.3 MB, free: 4.629 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.001275/0.001275, allocations: 180.5 kB / 289.6 MB, free: 2.352 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4398/0.4398, allocations: 78.54 MB / 418.3 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00157/0.00157, allocations: 71.88 kB / 497.6 MB, free: 6.344 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1224, allocations: 68.18 MB / 0.5525 GB, free: 2.121 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order6test2): time 0.19/0.3125, allocations: 5.937 MB / 0.5583 GB, free: 36.16 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003183/0.3158, allocations: 1.791 MB / 0.56 GB, free: 35.64 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006077/0.3164, allocations: 11.78 kB / 0.56 GB, free: 35.64 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005221/0.3169, allocations: 210.2 kB / 0.5602 GB, free: 35.63 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001485/0.3185, allocations: 0.7042 MB / 0.5609 GB, free: 35.48 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001133/0.3196, allocations: 0.5818 MB / 0.5615 GB, free: 35.41 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001293/0.3209, allocations: 1.33 MB / 0.5628 GB, free: 35.33 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003915/0.3213, allocations: 275.8 kB / 0.5631 GB, free: 35.29 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005599/0.3219, allocations: 0.5534 MB / 0.5636 GB, free: 35.14 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005768/0.3225, allocations: 0.699 MB / 0.5643 GB, free: 34.96 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001372/0.3226, allocations: 96.97 kB / 0.5644 GB, free: 34.96 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004405/0.3231, allocations: 237.3 kB / 0.5646 GB, free: 34.95 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001633/0.3232, allocations: 258.8 kB / 0.5648 GB, free: 34.88 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003827/0.3236, allocations: 0.5749 MB / 0.5654 GB, free: 34.67 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001073/0.3247, allocations: 1.421 MB / 0.5668 GB, free: 34.33 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3247, allocations: 0 / 0.5668 GB, free: 34.33 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3247, allocations: 0 / 0.5668 GB, free: 34.33 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.782e-05/0.3247, allocations: 2.062 kB / 0.5668 GB, free: 34.33 MB / 430.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.007656/0.3324, allocations: 2.44 MB / 0.5692 GB, free: 33.49 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.3325, allocations: 11.84 kB / 0.5692 GB, free: 33.49 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001289/0.3326, allocations: 114.4 kB / 0.5693 GB, free: 33.45 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004763/0.3374, allocations: 0.7664 MB / 0.57 GB, free: 33.37 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00111/0.3385, allocations: 0.7416 MB / 0.5708 GB, free: 33.01 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002579/0.3388, allocations: 253.8 kB / 0.571 GB, free: 32.81 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00014/0.3389, allocations: 68.06 kB / 0.5711 GB, free: 32.81 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001834/0.3408, allocations: 0.9896 MB / 0.572 GB, free: 32.75 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.3408, allocations: 0 / 0.572 GB, free: 32.75 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-05/0.3409, allocations: 26.34 kB / 0.5721 GB, free: 32.75 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.547e-05/0.3409, allocations: 16.94 kB / 0.5721 GB, free: 32.75 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001991/0.3429, allocations: 0.9908 MB / 0.573 GB, free: 32.74 MB / 430.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.004734/0.3476, allocations: 3.3 MB / 0.5763 GB, free: 31.76 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001799/0.3495, allocations: 1.345 MB / 0.5776 GB, free: 30.96 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001282/0.3508, allocations: 0.7253 MB / 0.5783 GB, free: 30.68 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.114e-05/0.3509, allocations: 9.625 kB / 0.5783 GB, free: 30.67 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.3509, allocations: 46.47 kB / 0.5783 GB, free: 30.62 MB / 430.1 MB Notification: Performance of pre-optimization done (n=85): time 3.246e-06/0.3509, allocations: 0 / 0.5783 GB, free: 30.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=85): time 0.02565/0.3766, allocations: 6.551 MB / 0.5847 GB, free: 29.41 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.532e-05/0.3766, allocations: 68.66 kB / 0.5848 GB, free: 29.34 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001035/0.3777, allocations: 0.8491 MB / 0.5856 GB, free: 28.96 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000152/0.3778, allocations: 46.36 kB / 0.5857 GB, free: 28.92 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002292/0.3781, allocations: 439.6 kB / 0.5861 GB, free: 28.57 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00025/0.3783, allocations: 312.9 kB / 0.5864 GB, free: 28.33 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003858/0.3787, allocations: 199.5 kB / 0.5866 GB, free: 28.23 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.964e-05/0.3788, allocations: 345.7 kB / 0.5869 GB, free: 27.91 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001467/0.3803, allocations: 0.6953 MB / 0.5876 GB, free: 27.65 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001532/0.3818, allocations: 0.8175 MB / 0.5884 GB, free: 27.29 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002974/0.3848, allocations: 1.491 MB / 0.5899 GB, free: 26.59 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.3848, allocations: 0 / 0.5899 GB, free: 26.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01482/0.3996, allocations: 4.266 MB / 0.594 GB, free: 25.56 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.069e-05/0.3997, allocations: 10 kB / 0.594 GB, free: 25.56 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.649e-05/0.3997, allocations: 2.625 kB / 0.594 GB, free: 25.56 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007489/0.4072, allocations: 1.858 MB / 0.5958 GB, free: 25.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001007/0.4082, allocations: 179.9 kB / 0.596 GB, free: 25.22 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02222/0.4305, allocations: 9.475 MB / 0.6053 GB, free: 20.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001628/0.4321, allocations: 157.1 kB / 0.6054 GB, free: 20.67 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001133/0.4323, allocations: 40.91 kB / 0.6055 GB, free: 20.66 MB / 430.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.0003868/0.4327, allocations: 227.5 kB / 0.6057 GB, free: 20.47 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002222/0.4329, allocations: 115 kB / 0.6058 GB, free: 20.41 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01311/0.446, allocations: 3.879 MB / 0.6096 GB, free: 19.03 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.32e-05/0.4461, allocations: 7.594 kB / 0.6096 GB, free: 19.03 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.4461, allocations: 1.75 kB / 0.6096 GB, free: 19.03 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.926e-05/0.4461, allocations: 7.984 kB / 0.6096 GB, free: 19.02 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0141/0.4602, allocations: 5.431 MB / 0.6149 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.469e-05/0.4603, allocations: 3.938 kB / 0.6149 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007014/0.461, allocations: 95.88 kB / 0.615 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005677/0.4667, allocations: 1.753 MB / 0.6167 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001829/0.4669, allocations: 17.12 kB / 0.6167 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01717/0.4841, allocations: 8.069 MB / 0.6246 GB, free: 4.652 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.4841, allocations: 0 / 0.6246 GB, free: 4.652 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01408/0.4982, allocations: 4.766 MB / 0.6293 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004343/0.4987, allocations: 191.6 kB / 0.6294 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002024/0.4989, allocations: 16 kB / 0.6294 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001093/0.5, allocations: 95.89 kB / 0.6295 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006072/0.5006, allocations: 200.7 kB / 0.6297 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.12e-05/0.5007, allocations: 21.06 kB / 0.6298 GB, free: 15.33 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007597/0.5015, allocations: 0.5741 MB / 0.6303 GB, free: 14.74 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.5015, allocations: 0 / 0.6303 GB, free: 14.74 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001396/0.5029, allocations: 431.5 kB / 0.6307 GB, free: 14.32 MB / 446.1 MB 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.01566/0.5185, allocations: 5.339 MB / 0.6359 GB, free: 8.945 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007299/0.5259, allocations: 2.427 MB / 0.6383 GB, free: 6.512 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.5259, allocations: 0 / 0.6383 GB, free: 6.512 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004794/0.5307, allocations: 1.531 MB / 0.6398 GB, free: 4.973 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007863/0.5315, allocations: 83.95 kB / 0.6399 GB, free: 4.887 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03816/0.5697, allocations: 15.42 MB / 0.6549 GB, free: 5.172 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006057/0.5703, allocations: 1.045 MB / 0.656 GB, free: 4.098 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004179/0.5708, allocations: 74.45 kB / 0.656 GB, free: 4.02 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005308/0.5713, allocations: 391.3 kB / 0.6564 GB, free: 3.637 MB / 462.1 MB Notification: Performance of SimCode: time 7.42e-07/0.5713, allocations: 4 kB / 0.6564 GB, free: 3.633 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09628/0.6676, allocations: 32.13 MB / 0.6878 GB, free: 3.789 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/12.2, allocations: 3.984 kB / 0.6878 GB, free: 3.785 MB / 494.1 MB (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)