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.007279/0.007279, allocations: 99.77 kB / 15.73 MB, free: 6.012 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.387/1.387, allocations: 222.9 MB / 239.4 MB, free: 4.512 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.001557/0.001557, allocations: 192.5 kB / 289.7 MB, free: 2.223 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4479/0.4479, allocations: 78.54 MB / 418.4 MB, free: 3.137 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002268/0.002268, allocations: 83.86 kB / 0.5532 GB, free: 1.453 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2896/0.2918, allocations: 68.16 MB / 0.6197 GB, free: 9.293 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order6test2): time 0.004579/0.2965, allocations: 5.95 MB / 0.6255 GB, free: 4.191 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00264/0.2991, allocations: 1.79 MB / 0.6273 GB, free: 2.398 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004358/0.2996, allocations: 8 kB / 0.6273 GB, free: 2.391 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003933/0.3, allocations: 218.2 kB / 0.6275 GB, free: 2.176 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001291/0.3013, allocations: 0.7012 MB / 0.6282 GB, free: 1.473 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009823/0.3023, allocations: 0.589 MB / 0.6288 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001125/0.3034, allocations: 1.335 MB / 0.6301 GB, free: 15.55 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004202/0.3039, allocations: 283.2 kB / 0.6303 GB, free: 15.26 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006971/0.3046, allocations: 0.5524 MB / 0.6309 GB, free: 14.7 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008414/0.3054, allocations: 0.6962 MB / 0.6316 GB, free: 14 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001712/0.3056, allocations: 96 kB / 0.6316 GB, free: 13.91 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004785/0.3061, allocations: 239.9 kB / 0.6319 GB, free: 13.68 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002344/0.3063, allocations: 258.9 kB / 0.6321 GB, free: 13.42 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005292/0.3069, allocations: 0.5709 MB / 0.6327 GB, free: 12.85 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001677/0.3086, allocations: 1.432 MB / 0.6341 GB, free: 11.42 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3086, allocations: 4 kB / 0.6341 GB, free: 11.41 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3086, allocations: 0 / 0.6341 GB, free: 11.41 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.699e-05/0.3086, allocations: 0 / 0.6341 GB, free: 11.41 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.008238/0.3168, allocations: 2.48 MB / 0.6365 GB, free: 8.879 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.3169, allocations: 12.03 kB / 0.6365 GB, free: 8.867 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001663/0.3171, allocations: 118.4 kB / 0.6366 GB, free: 8.742 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005069/0.3221, allocations: 0.768 MB / 0.6374 GB, free: 7.969 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001302/0.3235, allocations: 0.7564 MB / 0.6381 GB, free: 7.168 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003126/0.3238, allocations: 260.1 kB / 0.6384 GB, free: 6.879 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001448/0.324, allocations: 68 kB / 0.6384 GB, free: 6.812 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002212/0.3262, allocations: 0.9794 MB / 0.6394 GB, free: 5.828 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.3262, allocations: 0 / 0.6394 GB, free: 5.828 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-05/0.3263, allocations: 24 kB / 0.6394 GB, free: 5.805 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.693e-05/0.3263, allocations: 20 kB / 0.6394 GB, free: 5.785 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002311/0.3286, allocations: 0.9955 MB / 0.6404 GB, free: 4.785 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.00587/0.3345, allocations: 3.27 MB / 0.6436 GB, free: 1.359 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002332/0.3369, allocations: 1.356 MB / 0.6449 GB, free: 15.89 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001588/0.3385, allocations: 0.7188 MB / 0.6456 GB, free: 15.16 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001161/0.3386, allocations: 20.91 kB / 0.6456 GB, free: 15.14 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.3386, allocations: 43.56 kB / 0.6457 GB, free: 15.09 MB / 462.1 MB Notification: Performance of pre-optimization done (n=85): time 2.855e-06/0.3386, allocations: 0 / 0.6457 GB, free: 15.09 MB / 462.1 MB Notification: Performance of matching and sorting (n=85): time 0.02769/0.3663, allocations: 6.559 MB / 0.6521 GB, free: 8.496 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.086e-05/0.3664, allocations: 68.34 kB / 0.6521 GB, free: 8.414 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001224/0.3677, allocations: 0.8507 MB / 0.653 GB, free: 7.539 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001539/0.3678, allocations: 41.7 kB / 0.653 GB, free: 7.492 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003633/0.3682, allocations: 445.1 kB / 0.6534 GB, free: 7.051 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003543/0.3686, allocations: 325.2 kB / 0.6538 GB, free: 6.73 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004197/0.369, allocations: 202.8 kB / 0.6539 GB, free: 6.523 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.3692, allocations: 341.9 kB / 0.6543 GB, free: 6.184 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001682/0.3708, allocations: 0.7014 MB / 0.655 GB, free: 5.484 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001781/0.3726, allocations: 0.8189 MB / 0.6558 GB, free: 4.633 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003356/0.376, allocations: 1.486 MB / 0.6572 GB, free: 3.117 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.376, allocations: 0 / 0.6572 GB, free: 3.117 MB / 462.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01539/0.3914, allocations: 4.285 MB / 0.6614 GB, free: 14.82 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/0.3915, allocations: 8 kB / 0.6614 GB, free: 14.81 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.3915, allocations: 4 kB / 0.6614 GB, free: 14.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007548/0.3991, allocations: 1.842 MB / 0.6632 GB, free: 12.96 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001018/0.4001, allocations: 187.7 kB / 0.6634 GB, free: 12.77 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02444/0.4246, allocations: 9.464 MB / 0.6726 GB, free: 3.168 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001572/0.4262, allocations: 159.2 kB / 0.6728 GB, free: 3.012 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001322/0.4263, allocations: 43.98 kB / 0.6728 GB, free: 2.969 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.0004387/0.4268, allocations: 232.7 kB / 0.673 GB, free: 2.734 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002168/0.427, allocations: 111.2 kB / 0.6731 GB, free: 2.625 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01407/0.4411, allocations: 3.888 MB / 0.6769 GB, free: 14.72 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-05/0.4411, allocations: 12 kB / 0.677 GB, free: 14.71 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.4411, allocations: 3.984 kB / 0.677 GB, free: 14.71 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.922e-05/0.4412, allocations: 3.984 kB / 0.677 GB, free: 14.7 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01601/0.4572, allocations: 5.423 MB / 0.6823 GB, free: 9.141 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.115e-05/0.4572, allocations: 0 / 0.6823 GB, free: 9.141 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006817/0.4579, allocations: 95.88 kB / 0.6824 GB, free: 9.047 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006417/0.4644, allocations: 1.749 MB / 0.6841 GB, free: 7.293 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001568/0.4645, allocations: 16 kB / 0.6841 GB, free: 7.277 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02031/0.4849, allocations: 8.061 MB / 0.6919 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.4849, allocations: 0 / 0.6919 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01593/0.5008, allocations: 4.779 MB / 0.6966 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003968/0.5013, allocations: 200.2 kB / 0.6968 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001675/0.5014, allocations: 16 kB / 0.6968 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001059/0.5025, allocations: 92.02 kB / 0.6969 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006728/0.5032, allocations: 204.7 kB / 0.6971 GB, free: 9.746 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.471e-05/0.5033, allocations: 20 kB / 0.6971 GB, free: 9.727 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007748/0.5041, allocations: 0.5741 MB / 0.6977 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5041, allocations: 0 / 0.6977 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001186/0.5053, allocations: 431.7 kB / 0.6981 GB, free: 8.719 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.01646/0.5217, allocations: 5.351 MB / 0.7033 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007415/0.5292, allocations: 2.41 MB / 0.7057 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.5292, allocations: 0 / 0.7057 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005029/0.5343, allocations: 1.531 MB / 0.7072 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007603/0.535, allocations: 83.33 kB / 0.7072 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04117/0.5762, allocations: 14.96 MB / 0.7219 GB, free: 128 kB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007189/0.577, allocations: 1.045 MB / 0.7229 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003827/0.5774, allocations: 86.42 kB / 0.723 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005681/0.5779, allocations: 387.3 kB / 0.7233 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of SimCode: time 5.81e-07/0.578, allocations: 0 / 0.7233 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07447/0.6524, allocations: 32.52 MB / 0.7551 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.58/16.23, allocations: 8.969 kB / 0.7551 GB, free: 14.15 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)