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.001637/0.001637, 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.414/1.414, allocations: 222.9 MB / 239.3 MB, free: 4.602 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.001324/0.001324, allocations: 191.6 kB / 289.6 MB, free: 2.324 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5124/0.5124, allocations: 91.9 MB / 431.6 MB, free: 9.309 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001609/0.001609, allocations: 79.86 kB / 0.502 GB, free: 7.68 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.309, allocations: 71.27 MB / 0.5716 GB, free: 36.75 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order6test2): time 0.005751/0.3148, allocations: 5.963 MB / 0.5774 GB, free: 33.3 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003457/0.3183, allocations: 1.795 MB / 0.5791 GB, free: 32.14 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009149/0.3192, allocations: 13.66 kB / 0.5792 GB, free: 32.14 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007162/0.32, allocations: 214.4 kB / 0.5794 GB, free: 32.03 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002018/0.322, allocations: 0.7059 MB / 0.5801 GB, free: 31.56 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001334/0.3234, allocations: 0.5779 MB / 0.5806 GB, free: 31.27 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001655/0.3251, allocations: 1.337 MB / 0.5819 GB, free: 30.6 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000529/0.3256, allocations: 287.9 kB / 0.5822 GB, free: 30.48 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009485/0.3266, allocations: 0.5514 MB / 0.5827 GB, free: 30.2 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000728/0.3273, allocations: 0.6926 MB / 0.5834 GB, free: 29.87 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001421/0.3274, allocations: 95.97 kB / 0.5835 GB, free: 29.87 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004737/0.3279, allocations: 244.4 kB / 0.5837 GB, free: 29.82 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001676/0.3281, allocations: 257.5 kB / 0.584 GB, free: 29.65 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003794/0.3285, allocations: 0.5761 MB / 0.5845 GB, free: 29.27 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001083/0.3296, allocations: 1.421 MB / 0.5859 GB, free: 28.61 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.3296, allocations: 0 / 0.5859 GB, free: 28.61 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3296, allocations: 0 / 0.5859 GB, free: 28.61 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.137e-05/0.3296, allocations: 2.219 kB / 0.5859 GB, free: 28.61 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.007879/0.3375, allocations: 2.438 MB / 0.5883 GB, free: 27.52 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.3376, allocations: 8.719 kB / 0.5883 GB, free: 27.52 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001332/0.3377, allocations: 114 kB / 0.5884 GB, free: 27.44 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004901/0.3426, allocations: 0.76 MB / 0.5892 GB, free: 27.29 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001095/0.3437, allocations: 0.7506 MB / 0.5899 GB, free: 26.76 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002424/0.344, allocations: 256.2 kB / 0.5902 GB, free: 26.54 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001376/0.3441, allocations: 66.12 kB / 0.5902 GB, free: 26.52 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001941/0.3461, allocations: 0.9843 MB / 0.5912 GB, free: 26.15 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.3461, allocations: 0 / 0.5912 GB, free: 26.15 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.549e-05/0.3462, allocations: 25.72 kB / 0.5912 GB, free: 26.13 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.473e-05/0.3462, allocations: 20.47 kB / 0.5912 GB, free: 26.13 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002057/0.3483, allocations: 0.9957 MB / 0.5922 GB, free: 25.81 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.005072/0.3534, allocations: 3.287 MB / 0.5954 GB, free: 23.89 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001949/0.3553, allocations: 1.354 MB / 0.5967 GB, free: 22.98 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001379/0.3567, allocations: 0.7201 MB / 0.5974 GB, free: 22.7 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.503e-05/0.3568, allocations: 10.06 kB / 0.5974 GB, free: 22.69 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.3569, allocations: 46.84 kB / 0.5975 GB, free: 22.64 MB / 430.1 MB Notification: Performance of pre-optimization done (n=85): time 3.105e-06/0.3569, allocations: 0 / 0.5975 GB, free: 22.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=85): time 0.02684/0.3837, allocations: 6.554 MB / 0.6039 GB, free: 21.43 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.927e-05/0.3838, allocations: 65.73 kB / 0.6039 GB, free: 21.36 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001222/0.385, allocations: 0.8477 MB / 0.6048 GB, free: 20.99 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001874/0.3852, allocations: 41.33 kB / 0.6048 GB, free: 20.95 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003286/0.3856, allocations: 439.5 kB / 0.6052 GB, free: 20.6 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002865/0.3859, allocations: 310.5 kB / 0.6055 GB, free: 20.36 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003731/0.3863, allocations: 207.9 kB / 0.6057 GB, free: 20.25 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.818e-05/0.3863, allocations: 347.7 kB / 0.6061 GB, free: 19.93 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001531/0.3879, allocations: 0.6929 MB / 0.6067 GB, free: 19.67 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001566/0.3894, allocations: 0.8224 MB / 0.6075 GB, free: 19.3 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003063/0.3925, allocations: 1.49 MB / 0.609 GB, free: 18.61 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.3925, allocations: 1.344 kB / 0.609 GB, free: 18.61 MB / 430.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01508/0.4076, allocations: 4.27 MB / 0.6132 GB, free: 17.58 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.042e-05/0.4077, allocations: 5.219 kB / 0.6132 GB, free: 17.58 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/0.4077, allocations: 4.141 kB / 0.6132 GB, free: 17.58 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007058/0.4148, allocations: 1.845 MB / 0.615 GB, free: 16.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/0.4158, allocations: 190 kB / 0.6152 GB, free: 16.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02051/0.4363, allocations: 9.483 MB / 0.6244 GB, free: 7.914 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001568/0.4379, allocations: 163 kB / 0.6246 GB, free: 7.754 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.716e-05/0.438, allocations: 39.98 kB / 0.6246 GB, free: 7.715 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.0003661/0.4384, allocations: 218.2 kB / 0.6248 GB, free: 7.492 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001911/0.4386, allocations: 110.6 kB / 0.6249 GB, free: 7.383 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01234/0.451, allocations: 3.888 MB / 0.6287 GB, free: 3.473 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.19e-05/0.451, allocations: 8 kB / 0.6287 GB, free: 3.465 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.796e-06/0.451, allocations: 0 / 0.6287 GB, free: 3.465 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.549e-05/0.451, allocations: 7.969 kB / 0.6287 GB, free: 3.457 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01432/0.4654, allocations: 5.431 MB / 0.634 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.806e-06/0.4654, allocations: 4 kB / 0.634 GB, free: 13.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006657/0.4661, allocations: 103.8 kB / 0.6341 GB, free: 13.78 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006141/0.4722, allocations: 1.749 MB / 0.6359 GB, free: 12.03 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001366/0.4724, allocations: 16 kB / 0.6359 GB, free: 12.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01923/0.4916, allocations: 8.057 MB / 0.6437 GB, free: 3.812 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.4917, allocations: 0 / 0.6437 GB, free: 3.812 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01541/0.5071, allocations: 4.77 MB / 0.6484 GB, free: 15.02 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003851/0.5075, allocations: 195.6 kB / 0.6486 GB, free: 14.8 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001639/0.5077, allocations: 16 kB / 0.6486 GB, free: 14.79 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001087/0.5088, allocations: 95.89 kB / 0.6487 GB, free: 14.7 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006103/0.5094, allocations: 204.6 kB / 0.6489 GB, free: 14.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.966e-05/0.5095, allocations: 20 kB / 0.6489 GB, free: 14.48 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000721/0.5102, allocations: 0.5741 MB / 0.6495 GB, free: 13.89 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5102, allocations: 7.938 kB / 0.6495 GB, free: 13.88 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001162/0.5114, allocations: 427.6 kB / 0.6499 GB, free: 13.46 MB / 462.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.0161/0.5275, allocations: 5.342 MB / 0.6551 GB, free: 8.09 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007416/0.5349, allocations: 2.426 MB / 0.6575 GB, free: 5.648 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.535, allocations: 0 / 0.6575 GB, free: 5.648 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004928/0.5399, allocations: 1.531 MB / 0.659 GB, free: 4.102 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008862/0.5408, allocations: 83.33 kB / 0.659 GB, free: 4.016 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03959/0.5804, allocations: 15.39 MB / 0.6741 GB, free: 4.273 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005975/0.5811, allocations: 1.045 MB / 0.6751 GB, free: 3.199 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004107/0.5815, allocations: 82.44 kB / 0.6752 GB, free: 3.113 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000512/0.582, allocations: 395.3 kB / 0.6755 GB, free: 2.73 MB / 478.1 MB Notification: Performance of SimCode: time 9.42e-07/0.582, allocations: 0 / 0.6755 GB, free: 2.73 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06907/0.6511, allocations: 32.13 MB / 0.7069 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/12.17, allocations: 4 kB / 0.7069 GB, free: 2.711 MB / 0.4981 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)